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
115
votes
31 answers

Not able to type in textfield in iphone simulator using Mac Keyboard?

I'm working on a basic iOS app which supports both portrait and landscape modes. When the iPhone simulator keyboard is open in landscape and I'm switching the app to portrait mode I'm unable to type anything in any text field using my Mac physical…
Deepak Carpenter
  • 1,504
  • 2
  • 10
  • 21
110
votes
13 answers

Programmatically Request Access to Contacts

Since updating to iOS 6 I've noticed that my code to add a contact to iPhone's address book no longer works. I believe this is a permission related problem, since Apple now requires user permission before accessing contacts (fixing this issue). I…
Kyle Clegg
  • 38,547
  • 26
  • 130
  • 141
108
votes
7 answers

Analysing Assets.car file in iOS

I have trying to reduce the overall size of my iOS application which is currently 48MB. When I analyze sub folders, I found Assets.car is taking 41MB. I am not able to open and see which one is taking that much space. I couldn't find any good…
Rajeev
  • 4,762
  • 8
  • 41
  • 63
104
votes
7 answers

Alternatives to dispatch_get_current_queue() for completion blocks in iOS 6?

I have a method that accepts a block and a completion block. The first block should run in the background, while the completion block should run in whatever queue the method was called. For the latter I always used dispatch_get_current_queue(), but…
cfischer
  • 24,452
  • 37
  • 131
  • 214
104
votes
6 answers

dismissModalViewControllerAnimated deprecated

I've just upgraded to XCode 4.5 to update my iOS app to run on the 4 inch display for the iPhone 5, but I'm getting a build error saying dismissModalViewControllerAnimated:' is deprecated on the line: [self…
Mick Byrne
  • 14,394
  • 16
  • 76
  • 91
103
votes
10 answers

Avoid animation of UICollectionView after reloadItemsAtIndexPaths

UICollectionView animate items after reloadItemsAtIndexPaths is called (fade animation). Is there a way to avoid this animation? iOS 6
Marcin
  • 3,694
  • 5
  • 32
  • 52
100
votes
15 answers

iOS 6: How do I restrict some views to portrait and allow others to rotate?

I have an iPhone app that uses a UINavigationController to present a drill-down interface: First one view, then another, up to four levels deep. I want the first three views restricted to portrait orientation and only the last view should be allowed…
Harald Bögeholz
  • 1,163
  • 2
  • 8
  • 8
100
votes
3 answers

Does anyone know what the new Exit icon is used for when editing storyboards using Xcode 4.5?

Right-clicking the Exit icon yields an empty window. Can't Ctrl-drag a connection to any IB elements or corresponding source files. Docs give no love. Doesn't appear in nib files, only storyboards. My assumption is that it's a corollary to segues,…
rsswtmr
  • 1,776
  • 5
  • 16
  • 26
96
votes
15 answers

Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'

My app (iPad;iOS 6) is a landscape only application, but when I try using a UIPopoverController to display the photo library it throws this error: Supported orientations has no common orientation with the application, and shouldAutorotate is…
Destiny Dawn
  • 1,457
  • 3
  • 15
  • 29
95
votes
1 answer

Interpret XMP-Metadata in ALAssetRepresentation

When a user makes some changes (cropping, red-eye removal, ...) to photos in the built-in Photos.app on iOS, the changes are not applied to the fullResolutionImage returned by the corresponding ALAssetRepresentation. However, the changes are…
andreas
  • 1,045
  • 7
  • 7
94
votes
21 answers

how to fix the issue "Command /bin/sh failed with exit code 1" in iphone

I used a cocoa static library in my application. When I compile my library I got the following error: Shell Script invocation error:can't open input file: /Users/sijuthomas/Library/Developer/Xcode/DerivedData/SCXML2- …
Ben10
  • 3,221
  • 2
  • 34
  • 61
86
votes
16 answers

How to force a UIViewController to Portrait orientation in iOS 6

As the ShouldAutorotateToInterfaceOrientation is deprecated in iOS 6 and I used that to force a particular view to portrait only, what is the correct way to do this in iOS 6? This is only for one area of my app, all other views can rotate.
Neal
  • 9,487
  • 15
  • 58
  • 101
85
votes
4 answers

Is there a way to get all values in NSUserDefaults?

I would like to print all values I saved via NSUserDefaults without supplying a specific Key. Something like printing all values in an array using for loop. Is there a way to do so?
Alik Rokar
  • 1,135
  • 1
  • 10
  • 16
83
votes
6 answers

Setting style of UITableViewCell when using iOS 6 UITableView dequeueReusableCellWithIdentifier:forIndexPath:

I'm trying to work out how to set the UITableViewCellStyle when using the new methods in iOS 6 for UITableView. Previously, when creating a UITableViewCell I would change the UITableViewCellStyle enum to create different types of default cells when…
Zack Brown
  • 5,990
  • 2
  • 41
  • 54
80
votes
7 answers

Assertion failure when using UISearchDisplayController in UITableViewController

I've been trying to add simple Search functionality to a TableViewController in my app. I followed Ray Wenderlich's tutorial. I have a tableView with some data, I added the search bar + display controller in storyboard, and then I have this code:…
acib708
  • 1,573
  • 1
  • 13
  • 24