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
31
votes
3 answers

Xcode 10 - iOS 12 Simulator location simulation fails on City Bicycle Ride/City Run/Freeway Drive

I just updated from Xcode 9 to Xcode 10 a day ago, and when I was about to debug my location tracking app just realized that I never received device location. So I went to Maps app to check if it was just a problem with my app, but when I turn…
Jose Vf
  • 1,493
  • 17
  • 26
30
votes
3 answers

Navigator.mediaDevices.getUserMedia not working on iOS 12 Safari

As of iOS 12, navigator.mediaDevices.getUserMedia() is returning an error in Safari. To recreate this, open iPhone Web Inspector, then run this snippet in the console: var constraints = { audio: true, video: { width: 1280, height: 720 } };…
Severisth
  • 421
  • 1
  • 4
  • 4
30
votes
1 answer

iOS 12 specific problem: Core Data External Storage Binary Data corruption

I've spent the better part of a workday trying to solve this. Background I have a simple core data model, with books and reading sessions. The books have covers (images) that are stored as binary data with "Allows External Storage". On iOS 11.4 and…
zendo
  • 403
  • 4
  • 9
30
votes
7 answers

Unarchive Array with NSKeyedUnarchiver unarchivedObject(ofClass:from:)

Since upgrading to Swift 4.2 I've found that many of the NSKeyedUnarchiver and NSKeyedArchiver methods have been deprecated and we must now use the type method static func unarchivedObject(ofClass: DecodedObjectType.Type, from:…
Geoff H
  • 3,107
  • 1
  • 28
  • 53
29
votes
7 answers

preferredStatusBarStyle var not working in iOS12?

Adding application.statusBarStyle = .lightContent to my AppDelegate's didFinishLaunchingWithOptions method nor adding override var preferredStatusBarStyle: UIStatusBarStyle { return UIStatusBarStyle.lightContent } to the VC no longer works on…
Nostradamus
  • 1,497
  • 3
  • 20
  • 34
29
votes
5 answers

Read SMS message in iOS

I'm an iOS developer and i have tried to build a mobile application with automatic activation functionality, i found more than way to read SMS message but only using private API which will cause Apple rejection to my app.,i have two questions and…
UBA_MobileTeam
  • 561
  • 2
  • 7
  • 10
28
votes
20 answers

Playground is not showing result on right bar

I waited long time but my playground project is not showing result on right side bar I am using right code but still right bar is not updating i don't know what is the problem i tried lot of time. here is my code var str = "Hello, playground" var…
Kishore Suthar
  • 2,943
  • 4
  • 26
  • 44
27
votes
4 answers

iOS 12.0 Alternative to Using Deprecated archiveRootObject:toFile:

With iOS 12, archiveRootObject:toFile: has been deprecated. Can anyone suggest a streamlined alternative to archiving objects to a file? //Generic example of archiver prior to iOS 12.0 -(BOOL) archive:(id)archiveObject…
rswayz
  • 1,122
  • 2
  • 10
  • 21
25
votes
12 answers

iPhone XS doesn't have UDID

I want to add an iPhone XS UDID in the Apple developer portal but I am unable to find the UDID in iTunes and without adding the UDID I am unable to run my app on the iPhone XS. I tried adding the ECID and SEID but it didn't work. I couldn’t find…
Milap Kundalia
  • 1,566
  • 1
  • 16
  • 24
25
votes
6 answers

How to change status bar style - iOS 12

I need to update status bar style on every view controller based on the background color (what UINavigationController is doing automatically). Have tried all the options described on stackoverflow (View controller-based status bar appearance in…
Tomáš Pánik
  • 556
  • 1
  • 5
  • 18
24
votes
3 answers

iOS 12 IAP Sandbox

I was watching this WWDC18 talk, and they've explicitly announced that they'll allow developers to simultaneously connect one Sandbox Account for IAP testing - when in Developer Mode and in iOS12. Screenshot of the moment that they show the…
Guilherme Matuella
  • 2,193
  • 1
  • 17
  • 32
24
votes
2 answers

iOS 12 terminates apps in the background for no reason

Starting from iOS 12 the CLLocationManager doesn't run endless anymore in the background. The app get's terminated without a crashlog at random times. This was working fine before iOS 12. To demonstrate this problem I've created an sample app…
Sjoerd Perfors
  • 2,317
  • 22
  • 37
23
votes
6 answers

Swift class extensions and categories on Swift classes are not allowed to have +load methods

I have updated Xcode Version 10.2 (10E125) and testing on devices (not only simulator) I get this message when I execute the app: objc[3297]: Swift class extensions and categories on Swift classes are not allowed to have +load methods It's just…
Daniel Bastidas
  • 1,795
  • 1
  • 9
  • 15
22
votes
9 answers

App Installation failed. No code signature found

I recently upgraded to Xcode 10 and began the process of updating our app to switch 4.2 After a day or so of rebuilding 3rd party frameworks and adding in workarounds to various issues, I was able to run our app on the new simulators. However, when…
Josh
  • 1,688
  • 4
  • 22
  • 35
21
votes
2 answers

Safari 12 replaces authorization header

we have a webserver (nginx) https://www.website.com which is protected by a basic authentication. The API https://www.website.com/api does not have a basic authentication! The problem now is, since Safari 12 (macOS & iOS), the http header set by our…
1
2
3
45 46