Questions tagged [ios11]

iOS 11 is the eleventh version of Apple's iOS mobile operating system. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on June 05, 2017. The ios11 tag should be used for questions specific to Apple's iOS 11 operating system. General iOS questions should use the ios tag.

API and Developer Changes

  • Easily create Augmented Reality experiences using .
  • Take advantage of on-device Machine Learning using the new framework.
  • Efficiently perform complex tasks on images, videos, and pixel buffers with high accuracy through the new Vision () framework.
  • now supports additional intent types, including notes, reminders, and QR codes.
  • Expanded to work with more types of products; a non-commercial hardware spec is now available for developers / hobbyists.
  • AirPlay 2 () protocol introduced
  • System-wide Drag and Drop features for iPad, allows apps to share content in new ways
  • App Store redesigned with a new curated content section; a tab just for apps; a tab only for games; and new app pages.

Major User-Facing Changes

  • Multitasking redesign for iPad, now includes a Dock
  • Improved Notes app includes a document scanner (take photo and autocorrect perspective) and handwriting recognition
  • Redesigned Control Center, Notification Center
  • Apple Maps now supports indoor floor plans for places like malls and airports (limited). Lane guidance is now available for turn-by-turn directions.
2532 questions
39
votes
3 answers

HTTP load failed (error code: -999 [1:89]) for Task in iOS 11

I'm using URLSession to perform a datatask, when I run it on iOS 11, I get a console error: HTTP load failed (error code: -999 [1:89]) for Task <68809C58-C6A7-4F10-86A4-81396D8B18CF>.<2> Any thought on what's causing it, or how to fix it?
Ennabah
  • 2,303
  • 2
  • 20
  • 39
38
votes
5 answers

What's difference between NSPhotoLibraryAddUsageDescription and NSPhotoLibraryUsageDescription?

My app get crashed today while updating on Xcode9, testing on iOS11. After adding NSPhotoLibraryAddUsageDescription then it works, even i already had NSPhotoLibraryUsageDescription. Ive read about them, one supported since iOS6, one iOS11 but Apple…
TomSawyer
  • 3,711
  • 6
  • 44
  • 79
38
votes
5 answers

iOS 11 - Is in app purchase testing using a sandbox user keeps asking to sign in for anyone else too? Forever loop?

I am testing a non-consumable IAP on an iPhone 6s running iOS 11 GM. Whenever I tap my "Buy" button, it asks me to sign in. I tap "Sign in with existing apple ID" and enter my sandbox user details (which worked fine as of a few days ago on iOS…
37
votes
4 answers

iOS11 photo library access is possible even if settings are set to "never"

if UIImagePickerController.isSourceTypeAvailable(.photoLibrary) { let imagePicker = UIImagePickerController() imagePicker.sourceType = .photoLibrary imagePicker.allowsEditing = true self.present(imagePicker, animated: true,…
gvuksic
  • 2,983
  • 3
  • 32
  • 37
36
votes
5 answers

iOS 11 large title navigation bar snaps instead of smooth transition

I'm facing an issue where the large title navigation bar collapses very abruptly when scrolling on a UITableView embedded inside of a UIViewController. The problem seems to only occur when scrolling up on the screen. When scrolling down on the…
Villarrealized
  • 867
  • 1
  • 6
  • 13
35
votes
6 answers

How to open your app in Settings iOS 11

It seems that Apple has moved a lot of the app configurations to the App path with iOS 11, how to open the app path programmatically in Settings? I tried "App-Prefs:root=\(Bundle.main.bundleIdentifier!)" but this doesn't seem to work. Please note…
Tal Zion
  • 6,308
  • 3
  • 50
  • 73
34
votes
6 answers

iOS11 UIToolBar Contentview

In iOS 11 buttons and text field are unresponsive being subviews of UIToolBar. Comparing view hierarchy to iOS 10 we see there is a _UIToolBarContentView over all subview of UIToolBar. For instance, this new layout of the UIToolBar breaks…
Mustard
  • 367
  • 3
  • 5
33
votes
1 answer

iOS 11. What the KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED is mean?

In the new iOS11, I get some strange exceptions. I do not understand why this is happening. In the previous iOS, there was no such exception. Log attached: Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x180a5e7e8…
Mikhail S
  • 3,338
  • 3
  • 21
  • 34
33
votes
2 answers

dyld: dyld_sim not compatible mach-o

I installed Xcode 9 and trying to run my app on ios simulator 11.0. As soon as it launches the app its crashing giving this error. What does this error mean? If my app is not compatible with ios11.0, how can I check for the compatibily? EDIT -…
nOOb iOS
  • 1,384
  • 2
  • 19
  • 37
33
votes
3 answers

How to tell Smart Invert in iOS 11 not to invert my app colors and detect if it is enabled?

iOS 11 has a new feature called "Smart Invert Colors", and I want to take advantage of that in my app. I already have my own dark mode implemented in my app, so I'll do the "color inversion" process myself when Smart Invert is enabled. What I want…
XW_
  • 472
  • 1
  • 5
  • 11
32
votes
0 answers

Keyboard cannot present view controllers warning

When tapping the "Passwords" button at the top of the keyboard for login/password Autofill, this warning prints to the console log: Keyboard cannot present view controllers (attempted to present
M-P
  • 4,909
  • 3
  • 25
  • 31
32
votes
6 answers

Xcode 9.4 : unexpected service error: The Xcode build system has crashed

I’m getting strange error while building project in Xcode 9.4 Build system information - unexpected service error: The Xcode build system has crashed. Please close and reopen your workspace. I tried Xcode quit and reopen but that didn’t worked.…
Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
32
votes
5 answers

"Connect via network" wireless debugging not working Xcode 9

I am trying to run my iOS app via wifi network. But its not working as I expected. Connected Network sign is not displaying. I am using: macOS Sierra - 10.12.6 (in Mac mini) Xcode - 9.0 (9A235) iOS - 11.0 NOTE: Mac mini and iPhone both are…
Jay Patel
  • 2,642
  • 2
  • 18
  • 40
32
votes
6 answers

Changing the text color of a navigation bar title when "prefersLargeTitles" is set to true

I have a requirement in which I have to use a UINavigationBar with a red large title. Currently, I have the following code: func prepareNavigationController() { let navController = UINavigationController(rootViewController: self) …
Andy Ibanez
  • 12,104
  • 9
  • 65
  • 100
31
votes
4 answers

Xcode 9 - Simulator: Screenshots taken are not of correct resolution for ItunesConnect / AppStore Connect

In the old version of the Xcode Simulator (Xcode 8), you could press Command + 1, and it would show the simulator to be it's maximum dimensions (100%), even if that involved it expanding past the visible screen space. You could then press Command+S…
FranticRock
  • 3,233
  • 1
  • 31
  • 56