Questions tagged [ios10]

iOS 10 is the tenth version of Apple's iOS mobile operating system. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on June 13, 2016. The ios10 tag should be used for questions specific to Apple's iOS 10 operating system. General iOS questions should use the ios tag.

Introduced at WWDC 2016, iOS 10, dubbed "the biggest iOS release ever" brings many new features and an interface redesign.

New features include:

  • Improved Messages, Maps, Apple Music
  • New SiriKit and CallKit frameworks

iOS 10 is the latest version of iOS released to the public and supports the following devices.

iPhone

  • iPhone 5
  • iPhone 5C
  • iPhone 5S
  • iPhone 6
  • iPhone 6 Plus
  • iPhone 6S
  • iPhone 6S Plus
  • iPhone SE
  • iPhone 7
  • iPhone 7 Plus

iPod Touch

  • iPod Touch (6th generation)

iPad

  • iPad (4th generation)
  • iPad Air
  • iPad Air 2
  • iPad Pro 12.9
  • iPad Pro 9.7

iPad Mini

  • iPad Mini 2
  • iPad Mini 3
  • iPad Mini 4

More information can be found here:

2821 questions
33
votes
12 answers

cornerRadius stopped working in Swift 2.3 / iOS 10 / Xcode 8

I have a cornerRadius set on a UIView and a UIImageView inside the same UIView. I am calculating the corner radius with RockProfileView.frame.size.height / 2 but the UIView stopped showing in iOS 10. After further checking i found the value of…
Ankit Khanna
  • 1,019
  • 2
  • 12
  • 22
33
votes
4 answers

Xcode 8 forces to 'Choose an initial device view'

I currently updated to Xcode 8 GM. When I try to see my storyboard, above window pops up and there's no way to avoid this settings. I chose 6s screen and all my view controllers changed to 6s size. It will be much harder to adjust layout…
Vincent Gigandet
  • 918
  • 10
  • 21
33
votes
8 answers

Timer.scheduledTimer Swift 3 pre-iOS 10 compatibility

I need to schedule a Timer for firing a function every second but I see that in Xcode 8 beta 3 the scheduledTimer is only available for iOS 10. Is there any alternative for using the timer in iOS 9 or previous…
rockdaswift
  • 9,613
  • 5
  • 40
  • 46
31
votes
3 answers

UIVisualEffectView in iOS 10

I am presenting a UIViewController that contains a UIVisualEffectView as follows: -(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath { [self performSegueWithIdentifier:@"segueBlur"…
Axort
  • 2,034
  • 2
  • 23
  • 24
31
votes
2 answers

Cordova app hanging during startup on iOS 10

I just installed Xcode 8 beta in order to test my existing Cordova app in iOS 10 beta (via Simulator). When the app is launched, it just hangs on the loading page - seems the deviceready event is not being fired. So I also installed iOS 10 beta on…
DaveAlden
  • 30,083
  • 11
  • 93
  • 155
31
votes
3 answers

Using NSUserDefaults with Xcode 8 and iOS 10

NSUserDefaults no longer appears to be a class in the iOS 10 SDK: let defaults = NSUserDefaults.standardUserDefaults() This fails to compile. Was this class removed? (This is a canonical Q&A pair to prevent the flood of duplicate questions)
JAL
  • 41,701
  • 23
  • 172
  • 300
30
votes
2 answers

iOS 10: How to debug a Today Widget - "Unable to load" message

It seems to me that whenever a Today Widget crashes for any reason it displays the "Unable to load" message (as on the attached screen). When this happens nothing kicks off in the debugger, nothing appears on the Console. It seems to me like…
adamsfamily
  • 1,746
  • 19
  • 37
30
votes
1 answer

Xcode 8: how to change targeted device family

I developed an app for iOS 9/10 for iphone devices but my client would like to present and show it first running on an iPAD (always iOS 9/10). I have tried to compile and run it on my iPAD mini but the result is awful. I mean that the visible screen…
SagittariusA
  • 5,289
  • 15
  • 73
  • 127
30
votes
5 answers

WKWebView not rendering correctly in iOS 10

I have WKWebView inside the UITableViewCell. The web view load request and then after finished loading, I'll resize the web view height to be equal to its content height, then adjust table view cell height to fit accordingly. What happened was the…
wint
  • 1,266
  • 2
  • 14
  • 28
30
votes
8 answers

Where can I download the iOS 10 simulator runtime file?

I want to test my apps in the iOS 10 simulator, but I'm not sure where to get the .runtime file for iOS 10. I don't see a download for it under Components in Xcode 8. Where can I download the .runtime file for iOS 10 (if it exists)? Thanks in…
atirit
  • 1,492
  • 5
  • 18
  • 30
30
votes
5 answers

Add Local Notification in iOS 10 - Swift 3

So I been trying to add a notification to the new UNUserNotificationCenter, but I don't seem to get it. My view controller has an action: @IBAction func sendPressed(_ sender: AnyObject) { let content = UNMutableNotificationContent() …
Bjarte
  • 2,167
  • 5
  • 27
  • 37
29
votes
20 answers

iOS10 UNNotificationServiceExtension not called

Im implementing new iOS10 extension to use rich notifications. Im trying to test it on push notifications but is not working, I just receive a simple notification and is not going through the extension. I did all that it's specified in the official…
29
votes
3 answers

Handling AutoLayout constraint animation differences in iOS 10?

I've noticed that in iOS 10 Beta 5 (about to try Beta 6), AutoLayout constraint animation behaves a bit differently. For example, this approach does not work the same as it did in previous iOS releases: [view…
Ben Guild
  • 4,881
  • 7
  • 34
  • 60
28
votes
15 answers

Remove top line from TabBar

On iOS 10 this code doesn't work in order to remove the tabBar shadow line: [[UITabBar appearance] setShadowImage:[[UIImage alloc] init]]; Somebody knows, what must I do to remove it? On iOS 9.3 with this two lines the line is removed, but iOS 10…
jcamacho
  • 818
  • 2
  • 12
  • 25
28
votes
1 answer

AVFoundation Import Warnings after XCODE 8 upgrade

Obj C project; just updated to Xcode 8 and iOS/10. App seems to work fine, however, getting warnings -- "Missing submodule 'AVFoundation.AVSpeechSynthesis'" "Missing submodule 'AVFoundation.AVAudioSession'" These messages appear on the #import…
RegularExpression
  • 3,531
  • 2
  • 25
  • 36