Questions tagged [ios13]

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

API and Developer Changes

  • Allows users to adopt a dark system-wide appearance called Dark Mode, a darker color palette for all screens, views, menus, and controls.
  • With ARKit 3.0, users are able to create and render 3D scenes using , , and frameworks.

  • iOS 13 makes even more powerful with new conversational shortcuts, deeper customization, and new media playback experiences.

  • On-device machine learning using 3. Core ML 3 supports more advanced machine learning models than ever before.
  • With Create ML (), you can now build machine learning models right on your Mac with zero code.
  • features additional technologies that take advantage of the unique functionality of iPad using the iOS SDK.
  • With a declarative Swift syntax that’s easy to read and natural to write, works seamlessly with new Xcode design tools to keep your code and design perfectly in sync. It enables automatic support for Dynamic Type, Dark Mode, localization, and accessibility.
2125 questions
18
votes
5 answers

iOS 13 Set UISearchTextField placeholder color

How do you set the placeholder color of iOS 13's UISearchTextField? I tried the following with no success: searchField.attributedPlaceholder = NSAttributedString(string: "Some placeholder", attributes: [NSAttributedString.Key.foregroundColor:…
Renato Stauffer
  • 738
  • 2
  • 14
  • 30
18
votes
4 answers

How to trigger UIContextMenuInteraction context menu programmatically?

I have set up an UIButton as the rightBarButtonItem in an UIViewController inside an UINavigationController and associated an iOS13 context menu to it. Long pressing the button shows the context menu as expected. Is there a way to show the context…
mmklug
  • 2,252
  • 2
  • 16
  • 31
18
votes
5 answers

UISplitViewController will not correctly collapse at launch on iPad iOS 13

I am transitioning my app to iOS 13, and the UISplitViewController collapses onto the detail view, rather than the master at launch — only on iPad. Also, the back button is not shown - as if it is the root view controller. My app consists of a…
Belacqua2000
  • 301
  • 2
  • 6
17
votes
7 answers

Fixing the size of a custom font in SwiftUI iOS 13+ when ignoring Dynamic Type

In an app I'm developing (SwiftUI for iOS13 and above), I have imported a custom font, and I load the font using the following method": func getDigitalXFontOfSize(size s : CGFloat) -> Font { return Font.custom("DigitalX", size: s); } I…
Tyler Durden
  • 575
  • 7
  • 23
17
votes
5 answers

iOS SwiftUI how to bring up extra actions like "Embed in VStack" when interacting with code?

I am looking at this SwiftUI tutorial and it suggests I can see extra actions upon Command-Clicking the SwiftUI elements in code. In my Xcode, this jumps me to the class definition. I see there's an option in XCode 11.0 t change the Option key to…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
17
votes
0 answers

Strange crashes at ios 13 in background - cow_cleanup

i got several crashes in my crashlytics, all crash happened at ios13 and background, my app did request location in background this is crash logs Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x184da7150 objc_release + 16 1 …
Văn Tiên
  • 178
  • 4
17
votes
5 answers

WKWebview with the new iOS13 modal crash when a file picker is invoked

I have a webview in a modal view controller on iOS13. When the user tries to upload an image to the webview, it crashes. This is the exception I'm getting: 2019-09-30 17:50:10.676940+0900 Engage[988:157733] * Terminating app due to uncaught…
Antzi
  • 12,831
  • 7
  • 48
  • 74
17
votes
8 answers

How to initally hide searchbar in Navigation controller on iOS 13?

In iOS 13 the behavior has changed so that by default when Navigation controller appears the search bar is visible (when UISearchController is assigned to a navigationItem.searchController). Some system apps appear with the search bar hidden (you…
Ivan Ičin
  • 9,672
  • 5
  • 36
  • 57
16
votes
5 answers

NSPersistentStoreRemoteChangeNotification not getting fired

I am trying to perform history tracking in my CoreData+CloudKit project which uses NSPersistentCloudKitContainer. I have been following along with Apple's sample project I want to perform certain task when the remote store has been updated. For this…
FE_Tech
  • 1,534
  • 13
  • 25
16
votes
1 answer

SwiftUI List Background color

I am trying on setting a view background color to black with the following code struct RuleList: View {[![enter image description here][1]][1] private var presenter: ConfigurationPresenter? @ObservedObject private var viewModel:…
trusk
  • 1,634
  • 2
  • 18
  • 32
16
votes
4 answers

`scene(_ scene: UIScene, continue userActivity: NSUserActivity)` doesn't get called when the app is launched after the user clicks on a universal link

Method scene(_ scene: UIScene, continue userActivity: NSUserActivity) doesn't get called when the app is launched after the user clicks on a universal link. It works fine when already launched app opens again after the user clicks on the universal…
Dmitry
  • 527
  • 5
  • 13
16
votes
4 answers

UIViewController custom transition stuck on iOS13

I've implemented a custom transition between two view controllers in my iOS app and it worked fine with iOS 10, 11, and 12. Now I want make it ready for iOS 13 using Xcode 11 beta 6 and iOS 13 beta 8, but the transition is stuck. The custom…
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
16
votes
10 answers

Install claimed to have succeeded, but application could not be found on device Xcode 11

Just after switching from Xcode 10 to 11, I am unable to install my app on any device The error at launch time after installation succeeded says : Install claimed to have succeeded, but application could not be found on device. Details says :…
glemoulant
  • 517
  • 7
  • 18
16
votes
5 answers

Launch Images for Dark or Light Mode

How can I choose a different set of Launch images for Dark mode and for Light mode? I have a LaunchImages set. When the application starts, an image is shown. For Light mode it seems good, however if I try to open my application on a device set to…
gerram
  • 520
  • 6
  • 12
16
votes
8 answers

How do I use TabbedView in SwiftUI?

struct ContentView : View { var body: some View { NavigationView { TabbedView { PasswordGenerator() .tabItemLabel { Image("KeyGlyph") …
SmushyTaco
  • 1,421
  • 2
  • 16
  • 32