Tag: ios

51 votes
11 answers
2.8K views
Xcode 7 error: "Missing iOS Distribution signing identity for ..."

I tried to upload my App to iTunes Connect resp. AppStore and got the following error: Failed to locate or

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
2.9K views
How to check iOS version?

I want to check if the iOS version of the device is greater than 3.1.3 I tried things like: [[UIDevice curren

avatar
Boyd
0 1 0 9
asked 07 September, 2021
55 votes
24 answers
2.6K views
Xcode error "Could not find Developer Disk Image"

When attempting to run a build on a connected iOS device in Xcode I get the error: Could not find Develope

avatar
Wilber
0 1 0 9
asked 07 September, 2021
57 votes
14 answers
496 views
How do I convert an NSString value to NSData?

How do I convert an NSString value to NSData?

avatar
Winford
0 1 0 9
asked 07 September, 2021
59 votes
12 answers
540 views
How do I animate constraint changes?

I'm updating an old app with an AdBannerView and when there is no ad, it slides off screen. When there is

avatar
Georgie
0 1 0 9
asked 07 September, 2021
61 votes
14 answers
1.3K views
Constants in Objective-C

I'm developing a Cocoa application, and I'm using constant NSStrings as ways to store key names for

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
63 votes
30 answers
2K views
How to change the name of an iOS app?

I began an iPhone project the other day with a silly development code name, and now I want to change the name

avatar
Roger
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
2.9K views
61 votes
30 answers
2K views
How can I disable the UITableView selection?

When you tap a row in a UITableView, the row is highlighted and selected. Is it possible to disable this so ta

avatar
Joseph
0 1 0 9
asked 07 September, 2021
63 votes
23 answers
2.2K views
How do I check if a string contains another string in Objective-C?

How can I check if a string (NSString) contains another smaller string? I was hoping for something like: NSS

avatar
Thurman
0 1 0 9
asked 07 September, 2021
43 votes
30 answers
2.8K views
Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?

I'm trying to link a UILabel with an IBOutlet created in my class. My application is crashing with the f

avatar
Forrest
0 1 0 9
asked 07 September, 2021
53 votes
19 answers
1.9K views
performSelector may cause a leak because its selector is unknown

I'm getting the following warning by the ARC compiler: "performSelector may cause a leak because its sel

avatar
Tuan
0 1 0 9
asked 07 September, 2021
61 votes
27 answers
1.6K views
How do I sort an NSMutableArray with custom objects in it?

What I want to do seems pretty simple, but I can't find any answers on the web. I have an NSMutableArray

avatar
Stacia
0 1 0 9
asked 07 September, 2021
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
62 votes
28 answers
724 views
Using Auto Layout in UITableView for dynamic cell layouts & variable row heights

How do you use Auto Layout within UITableViewCells in a table view to let each cell's content and subview

avatar
Freida
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