Questions tagged [ios5.1]

The version of iOS (formerly iPhone OS) that was released by Apple on 7 Mar 2012. iOS 5.1 runs on iPhone 3GS (and newer), iPad 1 (and newer), iPod Touch 3rd generation (and newer).

iOS 5.1 was released on March 7, 2012. It supports the same devices as iOS 5 and was the initial release for the iPad 3. Also see and for more information.

Version 5.1 added new features to the Camera, Clock, Safari, and Photos. Many bug fixes and minor changes were also made to Maps, Phone, Music, Video, and Siri. This update also addressed security issues, network compatibility / features, and some settings.

314 questions
139
votes
15 answers

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

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…
jpsasi
  • 1,905
  • 2
  • 18
  • 29
73
votes
28 answers

build failed with: ld: duplicate symbol _OBJC_CLASS_$_Algebra5FirstViewController

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 …
Joe Shamuraq
  • 1,245
  • 3
  • 18
  • 32
47
votes
8 answers

iOS: Image get rotated 90 degree after saved as PNG representation data

I have researched enough to get this working but not able to fix it. After taking picture from camera as long as I have image stored as UIImage, it's fine but as soon as I stored this image as PNG representation, its get rotated 90 degree. Following…
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
40
votes
7 answers

Disable automatic screen lock in iOS 5.1

The following line of code prevents the app from automatically locking the screen after some idle time. [UIApplication sharedApplication].idleTimerDisabled = YES; //write this in applicationDidFinishLaunching It works well till iOS 5.0. But iOS 5.1…
Selvin
  • 12,333
  • 17
  • 59
  • 80
35
votes
4 answers

How to open preferences/settings with iOS 5.1?

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…
James Jones
  • 1,486
  • 1
  • 12
  • 22
30
votes
4 answers

iOS 5 JSON Parsing Results in Cocoa Error 3840

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…
Gup3rSuR4c
  • 9,145
  • 10
  • 68
  • 126
29
votes
3 answers

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

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…
Kent Nguyen
  • 3,042
  • 2
  • 20
  • 15
27
votes
8 answers

UISplitViewController: How force to show master popover in app launch? (portrait)

In an iPad App i'm using the UISplitViewController. I need to force to show the master popover when the app launch in portrait mode. Now I'm using this code and it works well on iOS 5.0. if…
alejandromp
  • 929
  • 1
  • 10
  • 19
21
votes
2 answers

Why UITextview does not have placeholder property like UITextField

Hi I am working with iPhone apps, I know the UITextfield has placeholder property. But UITextview doesn't have placeholder property. I know the process how to customize placeholder for UITextview. But please let me know the difference. and…
Mahesh Peri
  • 1,689
  • 2
  • 14
  • 24
18
votes
6 answers

iOS: Failed to launch .app file

I don't know why it is looking for directory inside my .app file. Every time I run application it installs the App on iPhone but doesn't run and gives below error. Could anyone please tell me where's this settings stored? Thanks. error: failed to…
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
15
votes
3 answers

iOS get Configuration Profiles that are installed

The app I am currently working on requires the use of Configuration Profiles in order to connect to a server to download XML. The certificates are distributed in the form of .p12 files, and they can be installed in the settings app in the iPhone…
David Skrundz
  • 13,067
  • 6
  • 42
  • 66
13
votes
2 answers

how some apps can open setting app programmatically within their app

I know there are many questions: "How to open setting app programatically?" and the answer is "BIG NO". I know that Apple does not support opening Settings from any other app after iOS 5.0. But there are some apps like MapMyFitness which can open…
codester
  • 36,891
  • 10
  • 74
  • 72
13
votes
5 answers

Missing proxy for identifier UIStoryboardPlaceholder

Hi I seem to have stumbled upon weird thing while developing a storyboard app. My app is halted right after splash screen and in console I get error message: Missing proxy for identifier UIStoryboardPlaceholder Now, if I try to let the app continue…
Lukas1
  • 582
  • 1
  • 5
  • 28
13
votes
5 answers

Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation

I am building a ipad application. when the applications starts i show it in landscape Right mode. But as soon as the application starts I get this message Two-stage rotation animation is deprecated. This application should use the smoother…
southpark
  • 541
  • 2
  • 5
  • 19
12
votes
1 answer

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

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…
jbbenni
  • 1,158
  • 12
  • 31
1
2 3
20 21