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

How to check network 2G or 3G in IOS?

This question already has an answer here: How do I know whether my iPhone/iPad is connected to 2G or 3G? [duplicate] 3 answers

Launch Google maps app from iPhone application.

I’m trying to launch google maps from my iPhone application. The launching part works fine but since the iPhone 3.1 update (i think it was around this time) I get a zoomed out map of the US and Canada rather than zoomed in on my current location. Everything worked fine originally but sometime around the […]

Fetching user profile data from LinkedIn in iPhone sdk

Using IOS, I am trying to integrate the LinkedIn into the application. The integration is also working,user login is also working but the I am not able to fetch the data of user profile with all records of user as Education,Skills and all. I am able to get only these four values after successful login. […]

ExtAudioFileWrite to m4a/aac failing on dual-core devices (ipad 2, iphone 4s)

I wrote a loop to encode pcm audio data generated by my app to aac using Extended Audio File Services. The encoding takes place in a background thread synchronously, and not in real-time. The encoding works flawlessly on ipad 1 and iphone 3gs/4 for both ios 4 and 5. However, for dual-core devices (iphone 4s, […]

AFNetworking 2.0 download multiple images with completion

I’m trying to figure out a way to download multiple images with AFNewtorking 2.0. I’ve read a lot of posts here in SO, but can’t find the answer I’m looking for, hope you guys can help me. The problem is that I want to know when all of the downloads finished and if all images […]

How to change the unselected tabbaritem color in iOS7?

Before iOS 7 I used [[UITabBar appearance] setTintColor:[UIColor redColor]]; But now it only paint the selected item, I have read some suggestions but I can not fin how to do it, I used this too: [self.tabBarItem setFinishedSelectedImage:[UIImage imageNamed:@”openbookwp4.png”] withFinishedUnselectedImage:[UIImage imageNamed:@”openbookwp4.png”]]; this put the icon I want, with the color I want, but only after I […]

Synchronous HTTPS POST Request iOS

For Android, I’ve been able to send POST requests in the following way: HttpClient http = new DefaultHttpClient(); HttpPost request = new HttpPost(“https://somewebsite.com”); request.setEntity(new StringEntity(data)); http.execute(request); However, on iOS I get the following error: NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843) What is the best way to perform a synchronous POST request using https on iOS?

Convert a UIImage into NSData BUT stay as a GIF file

I have a UIImage which is a GIF file. I need to make it make it into an NSData object. But it needs to stay a GIF so I can’t use UIImageJPEGRepresentation. Any ideas?

Core Location not requesting user permission

An application I was testing asked for user location on first device launch. I have uninstalled the application, deleted the build folder, and cleaned all targets, but core location never requests permission again. It is just off and must be enabled in the users settings. Any idea why the users choice would remain persistent even […]

How do I make interactive notifications in iOS 8 app?

In iOS 8, there is a new feature to notifications where you can slide down on it and do an action. For example, when you get a message from iMessage and slide down on the notification, you can type in a quick response. I’ve been looking through docs on how to do this, but I […]