iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

Determining the maximum number of simultaneous touches possible on an iOS device?

Is there a way to find out the maximum number of simultaneous touches on an iOS device (iPhone, iPod Touch, iPad) ? I’ve read here and there that iPhone can handle 5 while the iPad can handle 11, but I haven’t found an official way (through a function call, say) to confirm this.

How to request iOS Development Certificate in 2013?

In the past we create a CSR file with Keychain Access then upload the file via the Apple Dev website. Now with the latest Xcode (4.6.1) it seems we’re supposed to be able to request it via Xcode itself. I do not see that option anywhere! There’s a “refresh” button in the organizer but it […]

iOS9 “This game is not recognized by game center.”

I am having trouble getting game center to work with my app. Whenever I try to authenticate the user it comes back with the following error: “The requested operation could not be completed because this application is not recognized by Game Center.” Most of my internet searches have yielded the response “Make sure that Sandbox […]

Upload tasks from NSData are not supported in background sessions

i am trying to upload image using Share extension but the problem is when i add the background task it is giving me this error, It is saying nsdata is not supported in background task but wwdc session is uploading the image in nsdata. Will you please let me know where is the problem. and […]

Displaying images in sequence with a loop

I got an NSArray with 5 pictures. I want to display them one after the other in a loop. My code : NSArray *tabImage = [[NSArray alloc] init]; tabImage = [[NSArray arrayWithObjects: [UIImage imageNamed:@”picto_1.png”], [UIImage imageNamed:@”picto_2.png”], [UIImage imageNamed:@”picto_3.png”], [UIImage imageNamed:@”picto_4.png”], [UIImage imageNamed:@”picto_5.png”], nil] retain]; int var = 0; var = indexPath.row; for (int var = […]

CoreData predicate: string property length?

Say if I have an entity Fragment, it has an attribute ‘text’ which is a string, I want to query the list of Fragment whose text is of length 5: [NSPredicate predicateWithFormat:@”position == %@ AND text.length == %d”, pos, 5]; It does not work (ie returns no result), but if I remove text.length in the […]

How to Segue Randomly to ViewControllers in Swift?

For my Swift app, I’m trying to make it so that a button will lead to a random page in my Main.storyboard but I’m not sure if such a method exists. Is there a way for me to do this?

How to create a TIFF on the iPad

I am trying to create a TIFF image from a UIImage. I looked into Apple’s docs but could not find any information. Can anyone help me and explain how to create a TIFF image on an iPad?

Application Loader, new weird warning about Signiant Transfer Engine

Application Loader shown me a weird warning message instead of the check-in-big-green-circle before the “Thank you” dialog. “Creating a new Signiant Transfer Engine because the previous transfer had to be canceled. This session is at risk of running out of available system resources.” I used Application Loader 2.5.2 on OS X Lion 10.7.3. In the […]

Xcode 7 'CrashReporter does not contain bitcode' linker error

I am directly linking PLCrashReporter in my iOS app without using any external tool and now when I try to compile it on Xcode 7 I get link error: ld: ‘…/CrashReporter.framework/CrashReporter(libCrashReporter-iphoneos.a-armv7-master.o)’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode […]