ios5.1

iOS 5.1 swipe gesture hijacked by UISplitViewController - how to avoid?

孤街浪徒 提交于 2019-11-27 16:10:59
问题 A new behavior in iOS 5.1 related to UISplitViewController apps seems to be intercepting UISlider motion with undesired results. This might also apply to UISegmented Controls and any other control surface that handles left-to-right gestures. With a UISplitView in Portrait orientation, the Master view is normally hidden. Starting in iOS 5.1 a right swipe on screen brings up the Master View on the left side of the device. The problem is, sliding the thumb of my UISlider control is

iOS 5.1 with Xcode 4.3.1: [UIColor colorWithPatternImage:] strange behavior only on device

老子叫甜甜 提交于 2019-11-27 04:15:37
问题 When I compile my app in Xcode 4.3.1 with iOS 5.1, I notice there is a strange behavior with background textures only on actual device. There is a 1px gap in between texture tiles shown in screenshot below. My texture are 150x150 and 300x300 at 2x. So far I've tested the same build on: Simulator iPhone/iPad both 5.0/5.1: No bug iPhone/iPad running 5.0.1: No bug iPhone/iPad running 5.1: Buggy 回答1: I've been getting the same problem since 5.1 aswell. I solved it by doing the following to the

How to open preferences/settings with iOS 5.1?

扶醉桌前 提交于 2019-11-26 20:01:55
Looks like iOS 5.1 has broken the standard URL encoding for navigating a user to a Preference. For example: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=TWITTER"]]; Works in iOS 5.0 but not in iOS 5.1 (both device and simulator). Has anyone found a way to replicate this functionality in iOS 5.1? JoePasq No I don’t know a way to replicate this functionality. But what you can do is file a Radar requesting the restoration. Here is a radar requesting that the schemes be documented in the first place. David Barnard has confirmed that iOS 5.1 breaks the settings apps

build failed with: ld: duplicate symbol _OBJC_CLASS_$_Algebra5FirstViewController

旧城冷巷雨未停 提交于 2019-11-26 10:30:35
I am getting this error suddenly when running my app via iPhone simulator: clang: error: linker command failed with exit code 1 (use -v to see invocation): ld: duplicate symbol _OBJC_CLASS_$_Algebra5FirstViewController in .../Algebra5-anwcuftojtxtgkfootneeeqhwztj/Build/Intermediates/Algebra5.build/Debug-iphonesimulator/Algebra5.build/Objects-normal/i386/ExercisesViewController.o and .../Algebra5-anwcuftojtxtgkfootneeeqhwztj/Build/Intermediates/Algebra5.build/Debug-iphonesimulator/PSLE Algebra5.build/Objects-normal/i386/PSLE_Algebra5FirstViewController.o for architecture i386 What is it all

iOS 5 JSON Parsing Results in Cocoa Error 3840

岁酱吖の 提交于 2019-11-26 09:58:35
问题 I\'m having a hard time parsing the below JSON string on iOS 5. {\"States\": [{\"Name\": \"Arizona\",\"Cities\": [{\"Name\": \"Phoenix\"}]},{\"Name\": \"California\",\"Cities\": [{\"Name\": \"Orange County\"},{\"Name\": \"Riverside\"},{\"Name\": \"San Diego\"},{\"Name\": \"San Francisco\"}]},{\"Name\": \"Nevada\",\"Cities\": [{\"Name\": \"Las Vegas\"}]}]} And here\'s my code: - (void) parseJson { NSError *jsonError = nil; NSData *jsonData = [NSData dataWithContentsOfFile:[[NSBundle mainBundle

Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?

人盡茶涼 提交于 2019-11-26 03:17:02
问题 I still have Snow Leopard. I have Xcode 4.2 for iOS development. This morning I upgraded my iPhone and iPad to iOS 5.1. But Xcode 4.2 is not detecting my device for testing. I could not find the iOS 5.1 SDK image on Apple\'s developer site, for Xcode 4.2. I don\'t want to do upgrade to Lion to get XCode 4.3 at this time. Will I able to use Xcode 4.2 (on Snow Leopard) for iOS development now? 回答1: To get Xcode 4.2 on Snow Leopard to run code on a device running iOS 5.1 you can do this: If you

build failed with: ld: duplicate symbol _OBJC_CLASS_$_Algebra5FirstViewController

走远了吗. 提交于 2019-11-26 02:36:03
问题 I am getting this error suddenly when running my app via iPhone simulator: clang: error: linker command failed with exit code 1 (use -v to see invocation): ld: duplicate symbol _OBJC_CLASS_$_Algebra5FirstViewController in .../Algebra5-anwcuftojtxtgkfootneeeqhwztj/Build/Intermediates/Algebra5.build/Debug-iphonesimulator/Algebra5.build/Objects-normal/i386/ExercisesViewController.o and .../Algebra5-anwcuftojtxtgkfootneeeqhwztj/Build/Intermediates/Algebra5.build/Debug-iphonesimulator/PSLE