iOS

iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.

59 votes
30 answers
1.1K views
Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy

Just started using Xcode 4.5 and I got this error in the console: Warning: Attempt to present < finishV

avatar
Percy
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
414 views
Why is there extra padding at the top of my UITableView with style UITableViewStyleGrouped in iOS7

Starting in iOS7, there is additional space at the top of my UITableView's which have a style UITableView

avatar
Venice
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
1K views
How do I test if a string is empty in Objective-C?

How do I test if an NSString is empty in Objective-C?

avatar
Deedee
0 1 0 9
asked 07 September, 2021
56 votes
7 answers
665 views
Version vs build in Xcode

I have an app that I developed with Xcode 3 and recently started editing with Xcode 4. In the target summary I

avatar
Santiago
0 1 0 9
asked 07 September, 2021
63 votes
30 answers
372 views
This action could not be completed. Try Again (-22421)

I am trying to upload an Apple TV App to the App Store for testing purposes, but I got the issue: This Action

avatar
Rudy
0 1 0 9
asked 07 September, 2021
70 votes
15 answers
1.7K views
Xcode 6: Keyboard does not show up in simulator

The keyboard does not show up when I run the simulator and click in the UITextView. How do I re-enable the key

avatar
Omar
0 1 0 9
asked 07 September, 2021
57 votes
14 answers
1.8K views
Hide strange unwanted Xcode logs

When using the Xcode 8+ and creating a new blank project, the following logs appear when running the applicati

avatar
Solomon
0 1 0 9
asked 07 September, 2021
54 votes
25 answers
2.4K views
How to link to apps on the app store

I am creating a free version of my iPhone game. I want to have a button inside the free version that takes peo

avatar
Suzan
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
736 views
Placeholder in UITextView

My application uses an UITextView. Now I want the UITextView to have a placeholder similar to the one you can

avatar
Corey
0 1 0 9
asked 07 September, 2021
62 votes
30 answers
2.3K views
Eliminate extra separators below UITableView

When I set up a table view with 4 rows, there are still extra separators lines (or extra blank cells) below th

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
57 votes
19 answers
2.3K views
How do I create delegates in Objective-C?

I know how delegates work, and I know how I can use them. But how do I create them?

avatar
Forrest
0 1 0 9
asked 07 September, 2021
53 votes
20 answers
725 views
How do you trigger a block after a delay, like -performSelector:withObject:afterDelay:?

Is there a way to call a block with a primitive parameter after a delay, like using performSelector:withObject

avatar
Xavier
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
2.5K views
Loaded nib but the &apos;view&apos; outlet was not set

I added a new nib file to my project, and tried to load it. However, when I click on the toolbar icon that is

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
48 votes
30 answers
1.5K views
Can I embed a custom font in an iPhone application?

I would like to have an app include a custom font for rendering text, load it, and then use it with standard U

avatar
Venice
0 1 0 9
asked 07 September, 2021
53 votes
14 answers
1.2K views
Xcode process launch failed: Security

I have been developing an app for 1 or 2 weeks now and just yesterday I have updated my iPhone 5S to the iOS 8

avatar
Omar
0 1 0 9
asked 07 September, 2021
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