Questions tagged [ios6]

iOS 6 was announced by Apple on June 11, 2012 and released on September 19th, 2012. It runs all iPhones from 3GS and up.

iOS 6 was announced by Apple on June 11, 2012, and released on September 19th, 2012. It has been succeeded by , which was released on September 18, 2013. iOS6 is compatible with the following devices:

  • iPhone: iPhone 3GS, iPhone 4, iPhone 4S and iPhone 5
  • iPad: iPad 2nd, 3rd, and 4th generation and iPad mini
  • iPod: iPod Touch 4th and 5th generation

This update provides more than 200 new features, including a new Maps application, Siri updates, Siri for iPad (3rd generation), Facebook integration, PassBook, Shared Photo Streams, Mail has VIPs and pull to refresh, refreshed store apps, guided access feature for children/accessibility and many more.

For a complete rundown of the new features, visit Apple iOS 6.

Find out what's new, the update notes, or the release notes. The API differences compared to iOS 5.1 can be found here.

See for further information.

8692 questions
1045
votes
12 answers

How do I animate constraint changes?

I'm updating an old app with an AdBannerView and when there is no ad, it slides off screen. When there is an ad it slides on the screen. Basic stuff. Old style, I set the frame in an animation block. New style, I have a IBOutlet to the auto-layout…
DBD
  • 23,075
  • 12
  • 60
  • 84
669
votes
38 answers

Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy

Just started using Xcode 4.5 and I got this error in the console: Warning: Attempt to present < finishViewController: 0x1e56e0a0 > on < ViewController: 0x1ec3e000> whose view is not in the window hierarchy! The view is still being presented and…
Kyle Goslan
  • 10,748
  • 7
  • 26
  • 41
606
votes
6 answers

What are Unwind segues for and how do you use them?

iOS 6 and Xcode 4.5 has a new feature referred to as "Unwind Segue": Unwind segues can allow transitioning to existing instances of scenes in a storyboard In addition to this brief entry in Xcode 4.5's release notes, UIViewController now seem to…
Imre Kelényi
  • 22,113
  • 5
  • 35
  • 45
407
votes
8 answers

File is universal (three slices), but it does not contain a(n) ARMv7-s slice error for static libraries on iOS, anyway to bypass?

I upgraded Xcode version and when using external static libraries, I get this message: ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /file/location for architecture armv7s clang: error: linker command failed with exit…
Dafna Elazazer
  • 4,083
  • 2
  • 13
  • 6
324
votes
10 answers

How to perform Unwind segue programmatically?

Using storyboard this is very easy. You just drag the action to "Exit". But how should I call it from my code?
tadasz
  • 4,366
  • 5
  • 26
  • 33
308
votes
12 answers

UIRefreshControl without UITableViewController

Just curious, as it doesn't immediately seem possible, but is there a sneaky way to leverage the new iOS 6 UIRefreshControl class without using a UITableViewController subclass? I often use a UIViewController with a UITableView subview and conform…
Keller
  • 17,051
  • 8
  • 55
  • 72
288
votes
29 answers

Evenly space multiple views within a container view

Auto Layout is making my life difficult. In theory, it was going to be really useful when I switched, but I seem to fight it all of the time. I've made a demo project to try to find help. Does anyone know how to make the spaces between views…
nothappybob
  • 3,097
  • 4
  • 16
  • 15
250
votes
15 answers

Is it possible to install iOS 6 SDK on Xcode 5?

Xcode 5 has a preferences pane that allow one to download iPhone 6.1 simulator, however I can't find a place where it allows downloading of iOS 6 SDK, thus it is not possible to set the active SDK to iOS 6 when developing with Xcode 5. Is there a…
Tony
  • 36,591
  • 10
  • 48
  • 83
204
votes
13 answers

ios simulator: how to close an app

When you "run" the simulator from xCode, the app automatically launches, and then you can click the home button to suspend the app. What I want to do is close the app from within the simulator. So, how can this be done?
Chicowitz
  • 5,759
  • 5
  • 32
  • 38
192
votes
29 answers

Detect if the app was launched/opened from a push notification

Is it possible to know if the app was launched/opened from a push notification? I guess the launching event can be caught here: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { if…
167
votes
15 answers

Could not change executable permissions on the application

Just updated to iOS 6 sdk and latest Xcode and get this when trying to build to my 3gs. I 've added armv6 under valid architectures? "Could not change executable permissions on the application"
Alex McPherson
  • 3,185
  • 3
  • 30
  • 41
159
votes
13 answers

UILabel sizeToFit doesn't work with autolayout ios6

How am I supposed to configure programmatically (and in which method) a UILabel whose height depends on its text? I've been trying to set it up using a combination of Storyboard and code, but to no avail. Everyone recommends sizeToFit while…
circuitlego
  • 3,469
  • 5
  • 22
  • 22
159
votes
12 answers

Programmatically open Maps app in iOS 6

Previous to iOS 6, opening a URL like this would open the (Google) Maps app: NSURL *url = [NSURL URLWithString:@"http://maps.google.com/?q=New+York"]; [[UIApplication sharedApplication] openURL:url]; Now with the new Apple Maps implementation, this…
Tom Hamming
  • 10,577
  • 11
  • 71
  • 145
158
votes
9 answers

Could not insert new outlet connection

Could not insert new outlet connection: Could not find any information for the class and not showing any class named "ViewController" Solutions I have done : - Restarted XCode - Restarted System - Deleted the Deriveddata contents from…
Noufal Kmc
  • 2,020
  • 3
  • 15
  • 20
153
votes
6 answers

Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5

What is the best way to take advantage of the new auto layout features of iOS 6 while still providing compability with older devices on earlier versions of iOS?
sglantz
  • 2,063
  • 4
  • 20
  • 30
1
2 3
99 100