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

Recording interrupted by multitasking and content resizing

A try to start a screen recording with RPScreenRecorder. I got the following error: Recording interrupted by multitasking and content resizing func startRecording() { let recorder = RPScreenRecorder.shared() …
janosdupai
  • 519
  • 1
  • 5
  • 16
12
votes
2 answers

Xcode 10 test failure when running on older iOS simulators - "Failed to load test bundle... no suitable image found"

I've installed Xcode 10 and upgraded my iOS application to Swift 4.2. When I run my tests (both UI and Unit) via Xcode, on an iPhone simulator running iOS 12, the tests successfully start. When I attempt to run the tests on a simulator running a…
Andrew Bennet
  • 2,600
  • 1
  • 21
  • 55
11
votes
3 answers

Programmatically get application usage from Screen Time in iOS 12

I am working on one project and I want to get other application usage time. apple has launched iOS 12 and provides the new feature Screen Time. I want to know is there any way or API provided by Apple to get data from it.
Hemant Solanki
  • 894
  • 10
  • 24
11
votes
4 answers

iOS 12 Shortcut Setup Question for "Run JavaScript on Web Page"

I'm hoping this is the right place for this question since it centers around JavaScript. In the new iOS 12 Shortcuts app you can create workflows. I want to create one that simply launches a web page, fills in my username and password, then clicks…
gfrobenius
  • 3,987
  • 8
  • 34
  • 66
11
votes
4 answers

Using iOS8 and later devices with Xcode

Using iOS8 and later devices with Xcode?
Mohammad Razipour
  • 3,643
  • 3
  • 29
  • 49
10
votes
0 answers

Xcode does not show iOS 12.5 Simulator

I can not find iOS 12.5 version for Simulator from (Xcode -> Preferences -> Components). I checked it on Xcode versions 12.2 and 12.4 without any success. Does anyone know why?, Do I need to perform any update?, the latest iOS version Xcode shows…
Joule87
  • 532
  • 4
  • 13
10
votes
3 answers

Identify iPhones with Notch Programmatically

I am trying to identify iPhones with the notch programmatically. I am aware of the screen.size method, but when you have a universal app supporting all interface orientations, it becomes a mess (counting all the possible variations). So I am looking…
Gergely Kovacs
  • 1,045
  • 2
  • 10
  • 28
10
votes
2 answers

AutoFill username and password in iOS 12

I implemented AutoFill for stored username and password suggestion successfully in iOS 11. I have two text fields in my login view controller, one for email, one for password. The content types are defined as follows: email / username text field…
LinusGeffarth
  • 27,197
  • 29
  • 120
  • 174
10
votes
0 answers

AVAudioSession route change iOS 12

I am having following after upgrading to iOS 12 & XCode 10: 2018-09-20 11:58:09.622656+0400 MyApp-Swift[1027:137400] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker) Any idea…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
10
votes
4 answers

CoreData warning: Multiple NSEntityDescriptions claim the NSManagedObject subclass

I am suddenly getting a bunch of warnings on iOS12/XCode 9. Why are there multiple managedObjectModels ? The app only has one *.xcdatamodeld file but there are multiple versions within the model. Is this some new iOS12 Coredata feature and is…
Duncan Groenewald
  • 8,496
  • 6
  • 41
  • 76
10
votes
6 answers

iOS 12 SMS Reading API?

In Beta version of iOS 12 I have observed it gives OTP(from SMS) in keyboard suggestion. So is there any API which they have created for developers ? Or that would just be an OS feature.
NITESH
  • 537
  • 2
  • 6
  • 13
9
votes
6 answers

iOS 12 Suggested strong password textfield delegate callback for Choose My Own Password

In iOS 12 I have a new password textfield for a sign up flow and I want the system to suggest a strong one. I also have a button that enables and disables based on the delegate method and I do some changes etc. textField(_ textField: UITextField,…
Andrew Edwards
  • 1,005
  • 1
  • 9
  • 24
9
votes
1 answer

CarPlay audio app can't start when launched from locked device

We have an audio app and we want to add CarPlay to it. The app basically has a list of radio streams and the user can select which one to play. Everything is fine if I launch the app from the phone while connected to CarPlay or if I launch it from…
LorenzOliveto
  • 7,796
  • 1
  • 20
  • 47
9
votes
1 answer

How to create a Siri Intent that accepts input passed from user

I created a custom Intent with parameters like so: I've donated it: let intent = PlayIntent() intent.color = color let interaction = INInteraction(intent: intent, response: nil) interaction.donate() and it shows up correctly: However, I'd like an…
David Albers
  • 253
  • 4
  • 10
9
votes
1 answer

iOS 12 Push Notifications are not working and working in below versions , Push notification not receiving in iOS 12

For iOS 12 Push Notifications are not working and working in below versions My App is in Appstore. Push notification is working fine in iOS 11, but in iOS 12 it is not working. I am not receiving any push notification for iOS 12 devices. I have…
Sandeep Baddula
  • 181
  • 1
  • 9