Questions tagged [ios12]

The iOS12 tag should be used for questions specific to Apple's iOS 12 operating system. General iOS questions should use the iOS tag.

iOS 12 is the twelth version of Apple's iOS mobile operating system. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on Sep 17, 2018. The ios12 tag should be used for questions specific to Apple's iOS 12 operating system. General iOS questions should use the ios tag.


683 questions
5
votes
1 answer

Does anyone know how to solve with BackgroundTask issues in swift?

I am using background task inside my app after updating my iPad to iOS 13 my application issuing this: Can't end BackgroundTask: no background task exists with identifier > 13 (0xd), or it may have already been ended. Break in…
5
votes
1 answer

iPad (mobile Safari) select option font size inconsistency

In my responsive web app, select option font size gets auto resized in iPad resulting each option text to have inconsistent font size. (screenshot from iOS12 iPad simulator) I did research and tried everything that I came across:…
shibalink
  • 139
  • 2
  • 3
  • 9
5
votes
1 answer

Is there a way to deliver a local notification instantly in Swift?

I have a function and want to deliver a local notification when that function is executed. For now I've been using a Time interval notification trigger and had set the interval to 0.1s, but this doesn't feel like a proper way to deliver notification…
andre
  • 773
  • 1
  • 6
  • 16
5
votes
1 answer

Filtering Depth Data on iOS 12 appears to be rotated

I am having an issue where the Depth Data for the .builtInDualCamera appears to be rotated 90 degrees when isFilteringEnabled = true Here is my code: fileprivate let session = AVCaptureSession() fileprivate let meta =…
Stephen Furlani
  • 6,794
  • 4
  • 31
  • 60
5
votes
1 answer

Crash on UICollectionView

Good day, I am unable to replicate a crash but several of my live users are experiencing a crash. A report of the crash as downloaded from crashlytics is below. Can someone please help? Its happening to users on iOS12. Fatal Exception:…
Waris Ali
  • 522
  • 3
  • 14
5
votes
2 answers

URLSessionDelegate's didWriteData not call when app is going to background in iOS12

I want to implement downloading functionality which can show completed status of downloading task with the percentage. And I'm able to do that but the problem is when the app is moving to the background and come back to the foreground at that time…
Ankit Prajapati
  • 129
  • 1
  • 11
5
votes
2 answers

Unable to request permission to access the IOS Calendar in Swift 4.2

I have tried the earlier examples of asking permission to add items to the IOS calendar. They do not work with Xcode 10.1 (Swift 4.2). When I try to compile the code, I get an error. If I comment out the lines beginning with…
Howard Matis
  • 51
  • 1
  • 7
5
votes
1 answer

WatchOS5 - how to refresh my complication instantly?

I have an apple watch complication and the iPhone app running side by side. I have a button within the app to transmit application context dictionary to the watch. I expect to see the complication title to be refreshed. I cannot seem to force the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
5
votes
1 answer

Customize background and text color in UIDatePicker in iOS 12

In previous iOS versions, I was able to change the text and background colors using the something like the following: let datePicker = UIDatePicker() datePicker.datePickerMode = UIDatePickerMode.date datePicker.setValue(UIColor.white, forKey:…
Sean Kladek
  • 4,396
  • 1
  • 23
  • 29
5
votes
3 answers

Can't feed a MDLMesh container with 3D model as SCNGeometry

I'm creating AR app (Xcode 10.1, Swift 4.2.1). I'd like to load USDZ 3D object into an empty SceneKit's scene and then process it as MDL mesh. Here's my code: import ARKit import SceneKit.ModelIO let scene = SCNScene(named:…
Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
5
votes
1 answer

UITableView does not scroll when keyboard appears

UITableView does not auto-scroll when a UITextField/UITextView becomes the first responder. It used to work just fine on iOS 9-11, but now it doesn't work anymore on iOS 12. What should I set up or change in the tableView to fix the…
Ruslan
  • 141
  • 5
5
votes
1 answer

iOS 12 Xcode 10 application:openURL:options: Crash

I recently noticed some issues with my app causing a Warning when uploading to the Appstore: Invalid Document Configuration - Document Based Apps should support either the Document Browser (UISupportsDocumentBrowser = YES) or implement Open In…
martin010
  • 407
  • 1
  • 5
  • 14
5
votes
1 answer

Draw line via Coregraphic: crash at renderInContext

I'm using CoreGraphics to draw a line. I have just updated Xcode 10 and iOS 12. In iOS 12, my Application is crashed. Although, it still works well in iOS 11.4.1 and version before. I am not able to solve the issue. please find my code…
5
votes
1 answer

How to get the Angle and distance between Camera Position and Image Object Position in ARKit?

Working on AR Application where I need to place the object on ARImageAnchor once the image is tracked and 3d model placed then it should not move along with image anchor it should just follow the camera angle on iPhone and given distance from…
Rakesh iOS Dev
  • 935
  • 12
  • 19
5
votes
1 answer

Fabric - unable to add iPhone Xs Max, iPhone Xs device for beta testing

In the Fabric app, after adding iPhone Xs Max or iPhone Xs device in the provisioning profile, devices are not detecting inside the application. It is showing the error message "We couldn't locate the following devices in your profile:"