ios13

iOS 13 - WkWebView: audio stops when in background

倖福魔咒の 提交于 2020-05-09 17:57:46
问题 I've an app that uses WkWebView to play audio from Soundcloud, on iOS 13 Beta 6 the audio stops when the app is not in foreground, even when Audio is on in Background Modes . When starting the playback this assertions is thrown: Error acquiring assertion: <NSError: 0x282cf67c0; domain: RBSAssertionErrorDomain; code: 2; reason: "Required client entitlement is missing"> { userInfo = { RBSAssertionAttribute = <RBSLegacyAttribute: 0x1592432e0; requestedReason: MediaPlayback; reason: MediaPlayback

Missing TestSummeries.plist file in DerivedData

岁酱吖の 提交于 2020-04-30 01:36:23
问题 I am running unit tests on iOS 13.0 device by using xcode 11 beta. After the test execution it should generate a testsummeries.plist file inside /Users/YourUsername/Library/Developer/Xcode/DerivedData/XXX/Logs/Test/xxx.xcresult for the corresponding test case. But it is only generating data folder and info.plist file inside .xcresult. So i am not able get my report of the test cases that i have executed In Xcode 10 it was working properly and with each test run i was able to see my test

Missing TestSummeries.plist file in DerivedData

大城市里の小女人 提交于 2020-04-30 01:30:12
问题 I am running unit tests on iOS 13.0 device by using xcode 11 beta. After the test execution it should generate a testsummeries.plist file inside /Users/YourUsername/Library/Developer/Xcode/DerivedData/XXX/Logs/Test/xxx.xcresult for the corresponding test case. But it is only generating data folder and info.plist file inside .xcresult. So i am not able get my report of the test cases that i have executed In Xcode 10 it was working properly and with each test run i was able to see my test

iOS Simulator (11.1) that comes with Xcode 11.1 GM Seed seems to be unable to boot iOS 13.1 devices

安稳与你 提交于 2020-04-29 07:07:17
问题 I am running Mac OS X Mojave 10.14.6. The only app I have installed is a freshly downloaded Xcode 11.1 GM Seed (11A1027). There are no prior files, projects or apps on this system, as I just wanted to start learning Swift programming. In Xcode, I have created a fresh project for a single view iOS app. I compiled it without any changes, the build was successful. By default, it launches an iPhone 11 Pro Max on iOS 13.1. The Simulator launched, the device window appeared and a progress bar was

iOS Simulator (11.1) that comes with Xcode 11.1 GM Seed seems to be unable to boot iOS 13.1 devices

元气小坏坏 提交于 2020-04-29 07:07:06
问题 I am running Mac OS X Mojave 10.14.6. The only app I have installed is a freshly downloaded Xcode 11.1 GM Seed (11A1027). There are no prior files, projects or apps on this system, as I just wanted to start learning Swift programming. In Xcode, I have created a fresh project for a single view iOS app. I compiled it without any changes, the build was successful. By default, it launches an iPhone 11 Pro Max on iOS 13.1. The Simulator launched, the device window appeared and a progress bar was

ASAuthorizationAppleIDRequest with name and mail scope returns nil values

喜欢而已 提交于 2020-04-29 07:05:18
问题 I'm implementing Sign in with Apple and noticed that the email and fullName properties of the returned ASAuthorizationAppleIDCredential are only filled on the very first Sign-In for this Apple ID. On all subsequent Sign-Ins those properties are nil. Is this a bug on iOS 13 or expected behaviour? Here is the code I'm using to start the request: @available(iOS 13.0, *) dynamic private func signInWithAppleClicked() { let request = ASAuthorizationAppleIDProvider().createRequest() request

ASAuthorizationAppleIDRequest with name and mail scope returns nil values

孤人 提交于 2020-04-29 07:05:17
问题 I'm implementing Sign in with Apple and noticed that the email and fullName properties of the returned ASAuthorizationAppleIDCredential are only filled on the very first Sign-In for this Apple ID. On all subsequent Sign-Ins those properties are nil. Is this a bug on iOS 13 or expected behaviour? Here is the code I'm using to start the request: @available(iOS 13.0, *) dynamic private func signInWithAppleClicked() { let request = ASAuthorizationAppleIDProvider().createRequest() request

Programmatically detect Tab Bar or TabView height in SwiftUI

家住魔仙堡 提交于 2020-04-26 06:32:45
问题 I have a SwiftUI app that will have a floating podcast player, similar to the Apple Music player that sits just above the Tab Bar and persists across all tabs and views while the player is running. I have not figured out a good way to position the player so that it is flush above the Tab Bar, since the Tab Bar height changes based on device. The main issue I've found is just how I have to position the player in an overlay or ZStack in the root view of my app, instead of within the TabView

Programmatically detect Tab Bar or TabView height in SwiftUI

空扰寡人 提交于 2020-04-26 06:31:06
问题 I have a SwiftUI app that will have a floating podcast player, similar to the Apple Music player that sits just above the Tab Bar and persists across all tabs and views while the player is running. I have not figured out a good way to position the player so that it is flush above the Tab Bar, since the Tab Bar height changes based on device. The main issue I've found is just how I have to position the player in an overlay or ZStack in the root view of my app, instead of within the TabView

How to make Onboarding work with Scene Delegate in iOS13?

丶灬走出姿态 提交于 2020-04-18 12:33:33
问题 I am trying to set up my onboarding screen in the SceneDelegate. When I run the code below, it compiles, but just goes to a black screen. They're many great onboarding tutorials for AppDelegate, but very few for the new SceneDelegate with iOS13. I took this tutorial and tried to apply it to SceneDelegate, but I can't get it to work: https://www.youtube.com/watch?v=y6t1woVd6RQ&t=537s This is my scene delegate code. var window: UIWindow? func scene(_ scene: UIScene, willConnectTo session: