[iOS] info.plistに設定したカスタムURLスキームを取得する方法

メモとして。

[code]
NSString* selfUrlScheme = [[[[[[NSBundle mainBundle] infoDictionary] valueForKey:@”CFBundleURLTypes”] objectAtIndex:0] valueForKey:@”CFBundleURLSchemes”] objectAtIndex:0];
[/code]

※下記から抜粋しました。
http://b2cloud.com.au/how-to-guides/ios-url-schemes

※環境
xcode 4.3
iOS 4 – 5
Objective-C