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
55
votes
4 answers

Use Xcode 8 with iOS 11

I want to use Xcode 8 with iOS 11. should I upgrade my Xcode. However, my code can't be built by the new compiler, so I want to stay with Xcode 8. How can I achieve that? Apple revealed several new iOS 11 features at WWDC 2017.
Nazmul Hasan
  • 10,130
  • 7
  • 50
  • 73
54
votes
8 answers

ios 11 UITabBar UITabBarItem positioning issue

I have built my app using new Xcode 9 beta for ios 11. I have found an issue with UITabBar where items are spread through the UITabBar and title is right aligned to the image. I have tried changing the code to get it to work but still not…
Gihan
  • 2,476
  • 2
  • 27
  • 33
52
votes
15 answers

How to programmatically check support of 'Face Id' and 'Touch Id'

I've integrated LocalAuthentication for my app security purpose, which has been supporting 'Touch Id' based supporting. But now, apple has recently added 'Face Id' based authentication also. How can I check, which type of authentication is supported…
Krunal
  • 77,632
  • 48
  • 245
  • 261
50
votes
8 answers

How to fix Xcode error: Could not locate device support files on iPhone with Xcode

I have this error for the new iPhone X: Could not locate device support files. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 11.1 (15B93), which may not be supported by this version of Xcode. I'm running the latest version of…
user2888798
  • 688
  • 1
  • 6
  • 14
50
votes
1 answer

Apple Maps, Raster Overlays Above Labels - Failed to decode

After migrating to the new iOS 11. We are seeing this new error. Not only we are facing the error but the whole UI is sluggish. This is a native iOS app written in obj-c. We are not seeing the error in ios 10.2 or earlier. Any ideas?
Pradeep Mahdevu
  • 7,613
  • 2
  • 31
  • 29
47
votes
5 answers

Xcode says my "iPhone has recently restarted" and won't run

I am making an app in Xcode 9.2 and trying to run it on my iPhone (5S running iOS 11.2.1), Xcode compiles the application fine (I can run it in the simulator) but it does not run on my iPhone. When I try to run it on my iPhone it just says "iPhone…
brettfazio
  • 1,136
  • 10
  • 25
45
votes
6 answers

iOS 11 large navigation bar title unexpected velocity

I am trying to implement the iOS 11 native large navigation bar title on my new application. By calling below functions in viewDidLoad(): navigationController?.navigationBar.prefersLargeTitles = true…
Seop Yoon
  • 2,429
  • 3
  • 14
  • 18
45
votes
6 answers

UICollectionView in landscape on iPhone X

When iPhone X is used landscape, you're supposed to check safeAreaInsets to make suitably large gutters on the left and right. UITableView has the new insetsContentViewsToSafeArea property (default true) to automatically keep cell contents in the…
Wes Campaigne
  • 4,060
  • 3
  • 22
  • 17
44
votes
4 answers

Barcode on swift 4

I'm trying to upgrade mi app to swift 4, but the barcode reader is not working. I have isolated the barcode reader code, and still not working. The camera works but it does not detect the barcode. The code worked just fine on swift 3 iOS 10. This is…
Dx_
  • 1,566
  • 1
  • 16
  • 17
43
votes
3 answers

Failed to register for BoringSSL log debug updates

When debugging app in Xcode 9 beta while it's running on iPhone with iOS 11 beta installed, I started to notice following messages when performing networking calls: [] network_config_register_boringssl_log_debug_updates Failed to register for…
uerceg
  • 4,637
  • 6
  • 45
  • 63
42
votes
17 answers

iOS: Detect if the device is iPhone X family (frameless)

In my app there is some logic for frameless devices (iPhoneX, Xs Xs max, Xr). Currently it works base on the model of the devices, so, I detect the model by DeviceKit framework. But I want to extend this logic to future frameless devices. Probably…
Mark cubn
  • 507
  • 1
  • 4
  • 8
42
votes
11 answers

Fixed header disappear when scrolling down in webview in iOS 11

I have a native iOS app with a webview to display web content. I have a fixed header in my app with the following properties: #header { height: 60px; background-color: @mainColor; color: #ffffff; padding: 10px; text-align:…
Bergerova
  • 863
  • 3
  • 10
  • 21
42
votes
19 answers

Xcode 9 App installation failed, Could not write to the device

I've just updated to Xcode 9 and am getting App installation failed Could not write to the device error popup every other time. I see there are older questions on the subject, but this one is particular to iOS 11 and Xcode 9. I've never had the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
42
votes
5 answers

What is NSFaceIDUsageDescription - Face ID Usage Description Info.plist key?

There is a new privacy NSFaceIDUsageDescription Info.plist key in the Xcode 9 GM where a developer supplies the usage description for the permissions alert. Does anyone have a link to docs on it? The plist view in Xcode summarizes it as: Privacy -…
Steve Moser
  • 7,647
  • 5
  • 55
  • 94
40
votes
2 answers

What is the crash of "The app's Info.plist must contain an NSPhotoLibraryAddUsageDescription"?

I faced the following error (iOS 11): This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryAddUsageDescription key with a string value …
Ahmad F
  • 30,560
  • 17
  • 97
  • 143