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

MFMailComposeViewController behaves differently in iOS 13 simulator and device

I'm trying to display MFMailComposeViewController in an app. if MFMailComposeViewController.canSendMail() { let mailComposeViewController = MFMailComposeViewController() mailComposeViewController.navigationBar.tintColor = .white …
Isuru
  • 30,617
  • 60
  • 187
  • 303
20
votes
0 answers

ApplePay error `Connection to remote alert view service failed` on iOS 13

I have a fully working implementation of ApplePay. all works well on iOS10, 11 and 12. Since the first beta of iOS 13 and Xcode 11 and up until now (iOS13GM and Xcode 11GM) the ApplePay authorization modal doesn't show up. My PKPaymentRequest should…
Tal Cohen
  • 1,308
  • 10
  • 20
20
votes
2 answers

What is the default background color of UITableViewCell in iOS 13?

What is the default background UIColor of UITableViewCell? I need a constant UIColor object rather than RGB as I wish to implement dark mode in iOS 13. (I couldn't find any matching color such as [UIColor systemBackgroundColor]). I placed a…
Joshua
  • 1,974
  • 2
  • 23
  • 39
20
votes
1 answer

New UINavigationBar appearance in detail pane of UISplitViewController in iOS 13

Under iOS 13, if you setup a scrollable root view controller (such as a UITableViewController) in a navigation controller and then put that navigation controller in the detail pane of a UISplitViewController, then the nav bar's background isn't…
rmaddy
  • 314,917
  • 42
  • 532
  • 579
19
votes
9 answers

Dark mode does not switch to a Dark mode background in Xcode

I have set up different backgrounds for 'Light/Dark Appearance' But when switching between Light/Dark mode within Xcode, my background always uses image from 'Any/Light Appearance'. Only colours set for icons changes accordingly. FYI: I'm…
marika.daboja
  • 881
  • 13
  • 27
19
votes
4 answers

iOS 13.1 Crash in AVAudio Player

My App is crashing on iOS 13.1 when i trace a issue then found App is crashing because of AVAudioPlayer. Below Is My Player Setup. if let wrongURL = Bundle.main.url(forResource: "wrongAudio", withExtension: "mp3") { do { …
Rakesh Patel
  • 1,673
  • 10
  • 27
19
votes
3 answers

App crashes when playing audio on iOS13.1

I am building an app that runs sound files from within the main bundle with a url. When I tested this on iOS 13, everything is fine. But with the new update of 13.1 I am getting an error here on the line of code backgroundMusicPlayer = try…
Terry B
  • 266
  • 3
  • 11
19
votes
4 answers

Change UIDatePicker selected Date text Color for Dark mode (iOS 13)

Having trouble to find out a solution for changing the color of text for the selected Date in iOS 13 dark mode. I know how to change the color of the text of a UIPicker view using code self.timePicker.setValue(UIColor.black, forKeyPath:…
A K M Saleh Sultan
  • 2,403
  • 2
  • 22
  • 28
19
votes
6 answers

Any SwiftUI Button equivalent to UIKit's "touch down", i.e. activate button when your finger touches?

For SwiftUI the default button behavior is equivalent to UIKit's "touch up inside", which activates when your finger touches the button then raises while within the bounds of the button. Is there any way to change this to "touch down" so the action…
RogerTheShrubber
  • 986
  • 8
  • 19
19
votes
4 answers

Optional linking for Swift Combine.framework in Xcode 11

Our application supports iOS 11 and higher. In iOS 13 we use SwiftUI + Combine we wrap import of SwiftUI or Combine framework with correspondent check #if canImport(SwiftUI) or #if canImport(Combine). If we run our app from Xcode 11 under iOS 12 we…
Igor Palaguta
  • 3,579
  • 2
  • 20
  • 32
19
votes
4 answers

UITableViewDiffableDataSource: how to set section header titles?

I am trying to set up an UITableView with sections using the new UITableViewDiffableDataSource within an UITableViewController. Everything seems to work fine except setting the section header titles. According to Apple's documentation,…
mmklug
  • 2,252
  • 2
  • 16
  • 31
19
votes
4 answers

"Missing required entitlement" for NFCTagReaderSession

I'm diving into iOS 13's new CoreNFC capabilities, and I'm struggling to get NFCTagReaderSession working. After setting up my entitlements and instantiating an NFCTagReaderSession and delegate I attempt to start the session by calling…
Steven Berard
  • 193
  • 1
  • 1
  • 4
18
votes
1 answer

How to integrate 'Sign in with Apple' flow in iOS Objective-C?

I want to integrate 'Sign in with Apple' in my iOS app. I have found many code examples for this but all are in Swift and I need Objective-C.
Yogendra Patel
  • 813
  • 2
  • 8
  • 24
18
votes
6 answers

New iOS 13 Modal Presentation: Presenting Controller Doesn't Move Down

I have a weird behavior when presenting UIViewControllers modally in iOS 13. The new presentation style that I've seen all across iOS 13 looks like this: The presenting view controller appears behind the presented view controller. It is also shifted…
CentrumGuy
  • 576
  • 1
  • 4
  • 16
18
votes
4 answers

How set rootViewController in Scene Delegate iOS 13

Before changes in UIKit iOS 13 how I can set rootViewController at SceneDelegate? class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? @available(iOS 13.0, *) func scene(_ scene: UIScene, willConnectTo…
Vinicius Mangueira
  • 309
  • 1
  • 2
  • 9