ios-3.x

iOS and unarchiving xib files

你。 提交于 2019-12-19 03:13:36
问题 I'm finishing off an app for iOS 3.0 and up to run on the iPhone and iPod Touch. It's working fine on iOS4.0 and up, but when I backtest it on a second generation iPod Touch running iOS 3.0 the launch image shows and I'm met with the following: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x4e, 0x49, 0x42, 0x41, 0x72, 0x63, 0x68, 0x69)' 2012-01-15 09:35:53.025 MyApp[3026:207]

Most current iOS version distribution percentage?

杀马特。学长 韩版系。学妹 提交于 2019-12-18 14:04:00
问题 I started working on a new app and I wanted to use all of the new iOS5 features (including storyboard) but I'm afraid to limit my app to iOS5 users only. I couldn't find any information about iOS5 usage VS iOS<5 usage. If you could point me to some research data or give me an advice about going for iOS5 only development, I would be forever grateful :) Thanks 回答1: http://david-smith.org/iosversionstats/ has some data that is (as of Apr 2013) are bang up to date. That data showed that 1.5 weeks

Most current iOS version distribution percentage?

纵饮孤独 提交于 2019-12-18 14:03:15
问题 I started working on a new app and I wanted to use all of the new iOS5 features (including storyboard) but I'm afraid to limit my app to iOS5 users only. I couldn't find any information about iOS5 usage VS iOS<5 usage. If you could point me to some research data or give me an advice about going for iOS5 only development, I would be forever grateful :) Thanks 回答1: http://david-smith.org/iosversionstats/ has some data that is (as of Apr 2013) are bang up to date. That data showed that 1.5 weeks

iOS 3.x support in Xcode 4

柔情痞子 提交于 2019-12-17 15:35:59
问题 Is it possible to write apps that support iOS 3.x versions using Xcode 4? If so, how? And does Apple have any official recommendations on app backwards-compatibility? 回答1: To get your app successfully run in iOS 3.x device, follow these steps (Xcode 4.2): Click on your project name, select your Target and under "Build Settings" a) Set "iOS development target" (under "Deployment") to 3.0 b). Add "armv6" to list of "Architectures" (under "Architectures"). c) Set "Other Linker Flags" (under

Loading main XIB makes app crash on iOS 3.0

我的梦境 提交于 2019-12-11 17:25:46
问题 thank you for taking some time to read my question. I have this app (In Cydia), which has around 10% of users with iOS 3.0, so I want to support them in my next update . I tested it with actual devices running, iOS 4.0 and 5.0.1; it worked fine. But on iOS 3.0 it crashes with an exception: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x4e, 0x49, 0x42, 0x41, 0x72, 0x63, 0x68, 0x69)

What is the equivalent of getBoundingClientRect on iPhone Mobile Safari 3?

你离开我真会死。 提交于 2019-12-04 18:40:03
问题 iPhone Mobile Safari seems to be missing element.getBoundingClientRect. What is the equivalent method on iPhone Mobile Safari? This method exists on the iPad. 回答1: Edit 1: This code (webkitConvertPointFromNodeToPage) is only required for very old and out-of-date phones... see these comments. EDIT 2: I wouldn't recommend you use this code... I recall changing it to deal with some problem with IE10 with touch zoom. I will try to remember to update the code with the fix. Was: I think the

iOS and unarchiving xib files

大憨熊 提交于 2019-11-30 21:09:27
I'm finishing off an app for iOS 3.0 and up to run on the iPhone and iPod Touch. It's working fine on iOS4.0 and up, but when I backtest it on a second generation iPod Touch running iOS 3.0 the launch image shows and I'm met with the following: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x4e, 0x49, 0x42, 0x41, 0x72, 0x63, 0x68, 0x69)' 2012-01-15 09:35:53.025 MyApp[3026:207] Stack: ( 808001701, 805397928, 807551015, 807550919, 810902709, 815043196, 815042704, 814682908,

Most current iOS version distribution percentage?

怎甘沉沦 提交于 2019-11-30 11:01:31
I started working on a new app and I wanted to use all of the new iOS5 features (including storyboard) but I'm afraid to limit my app to iOS5 users only. I couldn't find any information about iOS5 usage VS iOS<5 usage. If you could point me to some research data or give me an advice about going for iOS5 only development, I would be forever grateful :) Thanks http://david-smith.org/iosversionstats/ has some data that is (as of Apr 2013) are bang up to date. That data showed that 1.5 weeks after formal release, iOS 6 had already reached 38%. Currently (Apr 2013) it shows that iOS 6 has reached

how can I handle push notification when my app is not running

半腔热情 提交于 2019-11-27 21:55:59
问题 how can I handle push notification when my app is not running i am developing for ios3 .please help 回答1: A short example: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSDictionary *tmpDic = [launchOptions objectForKey:@"UIApplicationLaunchOptionsRemoteNotificationKey"]; //if tmpDic is not nil, then your app is launched due to an APNs push, therefore check this NSDictionary for further information if (tmpDic != nil) { NSLog(@" -

iOS 3.x support in Xcode 4

人走茶凉 提交于 2019-11-27 18:52:36
Is it possible to write apps that support iOS 3.x versions using Xcode 4? If so, how? And does Apple have any official recommendations on app backwards-compatibility? Mike Keskinov To get your app successfully run in iOS 3.x device, follow these steps (Xcode 4.2): Click on your project name, select your Target and under "Build Settings" a) Set "iOS development target" (under "Deployment") to 3.0 b). Add "armv6" to list of "Architectures" (under "Architectures"). c) Set "Other Linker Flags" (under "Linking") to "-weak-lSystem". In your Info.plist file remove value of "armv7" from "Required