Tag Archives: iOS

Handle URL open from other apps in iOS

For short, declare UTImportedTypeDeclarations(for types that are not predefined as System Uniform Type Identifiers), CFBundleDocumentTypes in Info.plist, UIApplicationLaunchOptionsURLKey in [launchOptions valueForKey:UIApplicationLaunchOptionsURLKey] And for multitask apps, additionally respond to (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation // for iOS 4.2+ or … Continue reading

Posted in Default | Tagged | Leave a comment

remove a symbol from multiple platform Mach-O file

For Mach-O fat binaries that contains multiple platforms, stripping symbol may not work as you would expect. So you have to extract the executables/libraries from Mach-O and thin it using lipo. Then you can remove the .o file you don’t … Continue reading

Posted in Default | Tagged , , , , , | Leave a comment