background preloader

Awesome Features

Facebook Twitter

Ios - Programmatically get own phone number in iPhone OS. Iphone - Xcode IOS Connect to a specific wireless network using SSID and Password. Inter-App Communication through custom URL. Many app-related tasks depend on the type of app you are trying to create.

Inter-App Communication through custom URL

This chapter shows you how to implement some of the common behaviors found in iOS apps. Configuring Your App to Support iPhone 5 Apps linked against iOS 6 and later should be prepared to support the larger screen size of iPhone 5 and iPod touch (5th generation) devices. To support the larger screen in your code properly, never make assumptions about the current device’s screen size. Instead, always retrieve the size of a screen, window, or view dynamically and use that size information to configure your interface.

To let the system know that your app supports the iPhone 5 screen size, include a properly named launch image in your app’s bundle. For more information about specifying the launch images for your app, see “App Launch (Default) Images.” Creating a Universal App A universal app is a single app that is optimized for iPhone, iPod touch, and iPad devices. Updating Your Info.plist Settings. Custome URL Schemes. The scheme name (or protocol) of a URL is the first part of a URL - e.g.

Custome URL Schemes

For web pages, the scheme is usually http (or https). The iPhone supports these URL schemes: * Web links that point to are redirected to the Maps app. * Web links that point to are redirected to the YouTube app. * iTunes store links ( are sent to the iTunes (or App store) app. iPhone apps can also specify their own custom URL scheme (for example, When might you want to use a custom URL scheme for your app? To transfer data from lite to paid versions of your app To allow other apps (or even web pages) to call your app (and send data to it) To handle callbacks for custom authentication (such as OAuth) and third party API's Implementing a Custom URL Scheme Defining your app's custom URL scheme is all done in the Info.plist file. After you've set the URL identifier, select that line and click the "+" sign again, and add a new item for URL Schemes.

Handling Custom URL Calls Parsing the Custom URL Testing The Custom URL. Top 5 Developer Features in iOS 5. There’s been a lot of discussion over new features in iOS 5 from a user perspective, but I’d like to cover how iOS 5 will affect iOS developers. iCloud iCloud is certainly one of the most visible items being added in iOS 5.

Top 5 Developer Features in iOS 5

I also think it has the possibility to affect a lot of iOS apps. iCloud allows apps to use cloud-based storage of documents and key/value data. Changes are wirelessly pushed to iCloud and automatically synced on all devices (including computers as well as iOS devices). I think iCloud will be great for iOS apps that have iPhone and iPad versions. iCloud can also increase the possibilities of sharing content. I also think the key/value aspect to iCloud will allow for some interesting possibilities.

iCloud also works directly with Core Data, so almost any app that already uses Core Data ought to be able to link it with iCloud, and have anything in Core Data be synced across devices as well. Automatic Reference Counting (ARC) Storyboarding AirPlay This can be great for games.