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
40
votes
3 answers

Custom Aspect Ratio with AutoLayout

Let's say I have a UIView that contains a child UIView which has to be 4:3. I want to solve this problem using AutoLayout in code. I've been struggling with AutoLayout but I haven't figured out yet how to do this. Do you know how to solve this…
JaviAlgaba
  • 1,433
  • 1
  • 13
  • 13
39
votes
2 answers

TWTweetComposeViewController deprecated in IOS6

My code is working as expected just that I need to get rid of this warning message. TWTeetComposeViewController deprecated in IOS6. Any replacement for this built-in view controller in ios6? Here is my sample code. if ([TWTweetComposeViewController…
user1688346
  • 1,846
  • 5
  • 26
  • 48
39
votes
3 answers

dyld: Library not loaded different behavior for 6.0 simulator/6.0 device

My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error: dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport Referenced from:…
Jeff Grimes
  • 2,300
  • 1
  • 23
  • 23
39
votes
5 answers

iOS 6 debug console gone?

I used to use the "Debug Console" for mobile Safari to print out console.log messages when I'm troubleshooting. With iOS 6, in Safari's advanced settings, the "Web Inspector" replaced the "Debug Console." Unfortunately, my company doesn't allow me…
Matt
  • 1,015
  • 1
  • 11
  • 12
38
votes
1 answer

Custom animation when switching from one UICollectionViewLayout to another?

As a test I made one layout that displays cells in a vertical line and another that displays them in a horizontal layout. When I call [collectionView setCollectionViewLayout:layout animated:YES]; it animates between the two positions very…
Mason Cloud
  • 1,266
  • 1
  • 15
  • 20
38
votes
4 answers

Where to set translatesAutoresizingMaskIntoConstraints in Xcode 4.5

I need to set translatesAutoresizingMaskIntoConstraints to NO. By default it is set to YES (to assist with the majority of apps that are transitioning from struts and springs to the new Auto Layout). Is there somewhere in Xcode where the default…
Jon Cox
  • 10,622
  • 22
  • 78
  • 123
37
votes
8 answers

iOS6 UICollectionView and UIPageControl - How to get visible cell?

While studying iOS6 new features I got a question about UICollectionView. I am currently testing it with Flow layout and the scroll direction set to horizontal, scrolling and paging enabled. I've set its size to exactly the same as my custom's…
gazzola
  • 380
  • 1
  • 4
  • 14
37
votes
7 answers

Undefined symbols for architecture armv7 when using ZXing library in Xcode 4.5

What I am trying to do Integrate Zxing, QR code reader framework, in my iPhone project. I checked out ZXing sdk from here. I ran the sample project coming with ZXing, named ScanTest, without any issues. But when I try to integrate the library with…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
37
votes
7 answers

Facebook SDK 3.1 - Error validating access token

I'm trying to transition my app to the new Facebook SDK 3.1 (with support for iOS6 authentication). I had it working just fine, so I then decided to remove the app from my list of authorized apps on the FB website in order to test that iOS would ask…
tarmes
  • 15,366
  • 10
  • 53
  • 87
36
votes
6 answers

UIButton titleLabel not displaying

I have seen a bunch of similar questions, but noone got the answer I am looking for. When I use this code to make a UIButton and set it's titleLabel, the UIButton appear, but the titleLabel won't appear. UIButton *button = [[UIButton alloc]…
Peter
  • 1,848
  • 4
  • 26
  • 44
36
votes
5 answers

iOS Autolayout - How to set two different distances between views, depends on the screen height

I know I'm missing something, because this has to be something easy to achieve. My problem is that I have in my "loading screen" (the one that appears right after the splash) an UIImageView with two different images for 3.5" and 4" size screen. In a…
Daniel
  • 683
  • 1
  • 9
  • 20
36
votes
7 answers

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

I'm trying to make a modal view controller in my app delegate (I created a function called showLoginView). But whenever I try to call it I get a warning in XCode: Warning: Attempt to present on
patryk
  • 642
  • 1
  • 9
  • 18
36
votes
9 answers

MFMailComposeViewController throws a viewServiceDidTerminateWithError and then exits when using a custom title font

I've got the weirdest issue I've encountered in a long time...and I've run out of ideas. So I've got a MFMailComposeViewController that is being launched from tapping on a UIButton and it's launching the mail composer view just fine. You see the…
gplocke
  • 701
  • 7
  • 14
36
votes
4 answers

Xcode 4.5 command line unit testing

Having an issue since updating to Xcode 4.5 when running my unit tests via command line. The following is the output i'm seeing when i try to run my tests Unknown Device Type. Using UIUserInterfaceIdiomPad based on screen size Terminating since…
Edward Huynh
  • 2,907
  • 1
  • 27
  • 26
36
votes
9 answers

is groupTableViewBackgroundColor deprecated on iOS 6?

I was just testing my app with iOS 6.0 and Xcode 4.5GM and I have set up a view like this: [self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; So, the view has the same pattern than a common table view. This works fine on iOS 4…
estemendoza
  • 3,023
  • 5
  • 31
  • 51