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
1
vote
3 answers

Swift: Programmatically connect and disconnect to wifi

I have seen that in ios 11 we can connect to wifi using SSID and a password. However, I'm trying to find out if we can disconnect from that network as well. The requirement for my application is to connect to a specific wifi network using SSID,…
Ghulam Rasool
  • 3,996
  • 2
  • 27
  • 40
1
vote
2 answers

Custom navigation bar height

I have subclassed UINavigationBar and customised the height of navigation-bar. Now it has 108pt height. But in all the screens, I am having the top area of tableview/scrollview behind the custom navigation-bar. I have tried extend edges under top…
1
vote
0 answers

How do I get points to display using OpenGLES 2?

I have tried many different things, but I have the impression that this is all that I need to do to generate points instead of lines or triangles. The uncommented glDrawElements works, the commented commands to set line width and draw just lines…
J.Doe
  • 17
  • 6
1
vote
2 answers

Schedule local notification swift4

I've made a local notification with swift4 every day every at 17.00. and I want the notification to not show up on holidays (Saturday, Sunday). How can I do that? Here is my code: // schedule notification every day var dateComponents =…
Syahrir
  • 109
  • 3
  • 10
1
vote
0 answers

iOS 11: Force UIWebView to use cache (NSURLCache) when offline

Since iOS 11, when the device is offline, network requests are most often fail quickly with a “The Internet connection appears to be offline.” error message (code -1009). Previously – as was the case for iOS version < 11 – request would first try…
Daniel Pietzsch
  • 1,369
  • 14
  • 21
1
vote
1 answer

Bundle display name(CFBundleDisplayName) missing space characters in iOS 11

When I give Bundle display name with space as "my app display name", I get the app name as ("myappdisplay..."). This happens only on the iOS 11 , in iOS 10 and below(<) it is showing properly as ("my app displa...") . I tried to override name…
Sun_Josh
  • 93
  • 2
  • 5
1
vote
2 answers

HTML5 Video iOS11 issue

I've used the code from EmailOnAcid for implementing HTML5 video into e-mails, and it works in all clients,except for the standard mail client in…
Nikolai Hvid
  • 29
  • 1
  • 5
1
vote
1 answer

iOS 11 accessing contacts crash

We're having issues with iOS-11 users when they try to access contacts in the app, app crashes... but could not ever succeed to reproduce the issue on our side, using devices and simulators. Application uses AddressBook framework for retrieving the…
bosK
  • 41
  • 5
1
vote
3 answers

Swift: Enable iOS11 large title navigation bar

How can I enable an ios11 large title navigation bar? This is not working.
jonjon
  • 11
  • 1
  • 2
1
vote
0 answers

Handling Push Notification on iOS 10.3 or newer when the app is terminated

I want to find out which method is triggered when a terminated application receives a notification from my server. The application is being developed through Swift 4, my Deployment Target is 10.3 and Firebase is used to send notifications to…
chicco.caste21
  • 345
  • 2
  • 13
1
vote
0 answers

Present Controller using iOS Safe Area Layout

I am using iOS 11 safe area layout guidelines and set background color of status bar like this extension UIApplication { var statusBarView: UIView? { return value(forKey: "statusBar") as? UIView } }…
Noshaid Ali
  • 127
  • 1
  • 12
1
vote
2 answers

how to add GestureRecognizer for PDFAnnotation ios swift 4

it's possible to add GestureRecognizer or set on touch to PDFAnnotation func setDocumentAnnotation() { let anotation:PDFAnnotation = PDFAnnotation(bounds: CGRect(x: pointX, y: pointY, width: pointW, height: pointH), forType: .highlight,…
pch
  • 13
  • 6
1
vote
2 answers

How to pin a UIView underneath the iOS 11 NavigationBar's changing height frame?

I have a navigation bar and a collection view programmatically added to my app and I am trying to add in a custom view as well. I have gotten the view to sit above the collection view and beneath the navigation bar, which is what I want, however, on…
1
vote
0 answers

Ambiguous use of "observe" (Swift Compiler Error)

I am trying to load messages from Firebase but its telling me "Ambiguous use of observe" Please help...new to IOS func fetchMessages(){ let messageDB = Database.database().reference().child("Messages") messageDB.observe(.childAdded) {…
Banotik
  • 21
  • 1
  • 2
1
vote
1 answer

Cordova footer position fixed IOS11

I've created a Cordova/Phonegap website and every works fine, except on a iPhone X with IOS 11. The problem is that the footer is position fixed at the bottom but it doesn't stay there the whole time. If I scroll down on the app the footer stands…