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
1 answer

Ios11 Changing Calendar From Gregorian To japanese or Buddhist Crash?

var datePickerView: UIDatePicker = UIDatePicker() override func viewDidLoad() { super.viewDidLoad() initializeBarButtons() } func initializeBarButtons() { datePickerView.datePickerMode = UIDatePickerMode.date // This is the line that gets the…
Amey
  • 795
  • 8
  • 31
1
vote
0 answers

iPhone X safeAreaInsets Dynamic from function

I'm using SnapKit for layout in my iOS project and in landscape mode i want to add some constraints at the bottom. with the following code everything works good. containerView.snp.updateConstraints { (update) in …
Konstantinos Natsios
  • 2,874
  • 9
  • 39
  • 74
1
vote
3 answers

iOS 11 UINavigationBar UISearchBar and UIBarButtonItem overlap

In iOS 11, if you set a UISearchBar to be titleView of the navigationItem. Then add / remove UIBarButtonItem to navigationItem.leftBarButtonItems. The UIBarButtonItem will overlap with the UISearchBar. Steps to reproduce: New single view Xcode…
1
vote
0 answers

Swift UIApplication.shared.canOpenURL returns false in iOS11

I am facing a strange issue, after I started running my app on iOS11 devices. I do NOT have a 'rejection' from Apple but it simply stopped working on devices/simulators using iOS11. For the call action to a number, I used the below code which worked…
Lohith Korupolu
  • 1,066
  • 1
  • 18
  • 52
1
vote
0 answers

Delay between storyboard default properties and my custom properties on iOS 11 + XCode 9

I've been trying to solve this problem for a while but I cannot find a solution. The thing is I have a custom UITextField with custom properties, for instance, background color, and I reuse this control in my storyboards. The problem is when I run…
jmrbcu
  • 41
  • 1
  • 5
1
vote
1 answer

Return an array of object from query in firestore

Can someone help me? I want to return an array of all data loaded from the Firestore. func loadData() { var messages : [Message] = [] baseQuery().getDocuments() { (querySnapshot, error) in if let error = error { …
fquint
  • 11
  • 2
1
vote
1 answer

Long CoreData predicate to match multiple terms to attribute + relationships

I’m using swift 4, Xcode 9, iOS 11 I am continuing to learn about CoreData via tutorials and Q&A posts, but I can’t seem to figure out how to answer this question. I have a CoreData entity with one attribute and 12 relationships to different…
Coltuxumab
  • 615
  • 5
  • 16
1
vote
2 answers

Unable to dismiss a UIAlertController called from a closure

I have a login screen that raises an alert when login fails. The code that calls the alert is run from a callback closure which itself calls a function in the main VC. _ = UserProfile.logIn(emailAddressLabel.text!, passwordLabel.text!) {…
1
vote
1 answer

How to disable message, call, mail options from contact List using Address Book Api?

Is it possible to disable message, call, mail etc options from contact List using Address Book Api I just want user can select only address from contact list. For reference please check below marked option on image.
Prema Janoti
  • 836
  • 5
  • 18
1
vote
1 answer

CAShapeLayer flipped coordinate while using with iOS11 vision

I'm playing with iOS 11vision framework to detect facial features like nose, eyes, lips etc. Vision frame work gives very accurate normalize points for all facial features. Now I'm trying to draw a red line over right eye with help of bezier path…
Jay Savsani
  • 299
  • 1
  • 3
  • 16
1
vote
1 answer

XCode: uncaught exception of type NSException on ios 9-10 vs ios 11

I have noticed that some exceptions, like NSGenericException or NSManagedObject Exceptions do not contain a lot of details in output when app crashes on iOS 11. But in the same time if I run and make it crashed on iOS 9 or 10, it will contain a lot…
DJ-Glock
  • 1,277
  • 2
  • 12
  • 39
1
vote
0 answers

iOS 11 UINavigationBar extra height when using searchController

I'm trying to add a search bar inside the navigation bar, here's my code: class ViewController: UIViewController { var searchController : UISearchController! override func viewDidLoad() { super.viewDidLoad() searchController…
1
vote
1 answer

Overlay (block) or power off iOS on iPad using Xcode/Swift or unicorn pixie dust

Hey all I am just wondering if there were anyone out there that knew how to overlay a screen on top of another one in the way that it blocks the original app from being used? Or would It be possible to power off the iPad via Xcode/Swift? Reason…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
1
vote
0 answers

Stack view constraints changes top-layer's view width

I have a stack view holding 2 images. One image's width to be lower or equal to 140 and 1:1 ratio Stack view top constraint 20 and trailing constraint 5 When I want to set the stack view leading constraint to 5 (looking at the safe area leading)…
1
vote
1 answer

validateTextureDimensions:759: failed assertion `MTLTextureDescriptor has width (45000) greater than the maximum allowed size of 16384.'

I am getting this error on iOS 11 while trying to load the MKMapView on a collection cell. Everything works fine until I face this issue, I also tried by disabling the Metal API validation in Edit Scheme's but no luck. Any idea whats going wrong?
Tarun
  • 329
  • 1
  • 4
  • 16