Tag: c

51 votes
30 answers
2.7K views
How can I check for an active Internet connection on iOS or macOS?

I would like to check to see if I have an Internet connection on iOS using the Cocoa Touch libraries or on mac

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
60 votes
28 answers
612 views
Transport security has blocked a cleartext HTTP

What setting do I need to put in my info.plist to enable HTTP mode as per the following error message? Tra

avatar
Luis
0 1 0 9
asked 07 September, 2021
66 votes
30 answers
620 views
How can I make a UITextField move up when the keyboard is present - on starting to edit?

With the iOS SDK: I have a UIView with UITextFields that bring up a keyboard. I need it to be able to: Allow s

avatar
Dario
0 1 0 9
asked 07 September, 2021
58 votes
27 answers
1.4K views
What's the difference between the atomic and nonatomic attributes?

What do atomic and nonatomic mean in property declarations? @property(nonatomic, retain) UITextField *userNam

avatar
Mikki
0 1 0 9
asked 07 September, 2021
67 votes
30 answers
439 views
Vertically align text to top within a UILabel

I have a UILabel with space for two lines of text. Sometimes, when the text is too short, this text is display

avatar
Sena
0 1 0 9
asked 07 September, 2021
50 votes
10 answers
2.9K views
How to see the javascript errors of PhoneGap app in Xcode?

I want to debug my PhoneGap app in Xcode, but its Console can not show javascript errors.

avatar
Xavier
0 1 0 9
asked 07 September, 2021
59 votes
6 answers
2.7K views
phonegap - splash screen for Android app

Could anybody please advise how I can add a splash screen to my HTML5 Phonegap based Android App. I just want

avatar
Keith
0 1 0 9
asked 07 September, 2021
61 votes
14 answers
2.9K views
How to add app icon within phonegap projects?

I created a new phonegap (v 3.0.0-0.14.0) project with default config.xml and then added iOS and Android platf

avatar
Robt
0 1 0 9
asked 07 September, 2021
56 votes
4 answers
455 views
edit-config for ios usage descriptions: doc.find is not a function

When using the edit-config tag in config.xml, I get this error on build: Error: doc.find is not a function

avatar
Kisha
0 1 0 9
asked 07 September, 2021
60 votes
18 answers
393 views
iOS 7 Status bar with Phonegap

In iOS 7, Phonegap applications will appear underneath the status bar. This can make it difficult to click on

avatar
Kurtis
0 1 0 9
asked 07 September, 2021
52 votes
12 answers
1.6K views
'node' is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova

I am using phonegap/cordova. Everthing is installed propelry i.e cordova, phonegap, ant,sdk,jdk. But now i

avatar
Corrin
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
1.2K views
Handling cookies in PhoneGap/Cordova

I'm working on a PhoneGap app with server session usage. It needs cookies to handle the session. Addition

avatar
Dorian
0 1 0 9
asked 07 September, 2021
68 votes
8 answers
756 views
Cordova 5.0.0: Which files should I commit to git?

I use Cordova 5.0.0 and i have the following project structure: MyProject - hooks - platforms - p

avatar
Suzan
0 1 0 9
asked 07 September, 2021
50 votes
6 answers
1.5K views
"No Content-Security-Policy meta tag found." error in my phonegap application

After update Cordova 5.0 in my system, I create new applications. When I tested my application on a device tha

avatar
Scot
0 1 0 9
asked 07 September, 2021
61 votes
1 answers
2.1K views
Android app starts updating with cordova-webintent and force stops

Steps: I Opened the android application (built with cordova) Then I called cordova-webintent for installing u

avatar
Sydney
0 1 0 9
asked 07 September, 2021
71 votes
6 answers
2.1K views
Cordova 3.5.0 Install Error- Please Install Android Target 19

I try to get this working and it's driving me nuts: $ cordova platform add android The output is: Cre

avatar
User demo
0 1 0 9
asked 07 September, 2021
52 votes
28 answers
1.6K views
ionic build Android | error: No installed build tools found. Please install the Android build tools

When I run ionic build android command in root of ionic project, I am getting this error: FAILURE: Build f

avatar
Jesenia
0 1 0 9
asked 07 September, 2021
65 votes
26 answers
2.3K views
Running "cordova build android" - unable to find attribute android:fontVariationSettings and android:ttcIndex

When I run cordova build android --buildConfig xxxx --release, I get the following error: ERROR: In <decla

avatar
Joseph
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
612 views
.gitignore for PhoneGap/Cordova 3.0 projects - what should I commit?

I just tried to create a new phonegap 3.0 project... Note: I'm new to phonegap. Anyways, I see the projec

avatar
Luis
0 1 0 9
asked 07 September, 2021
59 votes
9 answers
802 views
Correct way of using JQuery-Mobile/Phonegap together?

What is the correct way (to this date) to use JQuery Mobile and Phonegap together? Both frameworks need to lo

avatar
Bryan
0 1 0 9
asked 07 September, 2021