ios13

UITableViewCell selectedBackgroundView's color not visible when building on iOS 13

試著忘記壹切 提交于 2020-01-22 20:36:05
问题 I have given a tableview cell a color on selection in cellForRowAtIndexPath using let backgroundView = UIView() backgroundView.backgroundColor = UIColor.grey3 //custom color cell.selectedBackgroundView = backgroundView Since I am building with Xcode 11.0 the color is not propagated to the subviews of the cell anymore on an iOS 13 device or Simulator. If I build on an iOS 12.2 simulator using Xcode 11.0 it still works. Anyone has an idea what has changed to cause this behaviour? I am working

Getting the SSID of the CONNECTED WIFI on IOS 12- Xamarin (Updated for iOS 13)

亡梦爱人 提交于 2020-01-22 13:06:25
问题 I could get the ssid of the connected wifi to my iPhone. After Installing Xcode 10 and Updating Visual Studio for Mac and Visual Studio 2017, it returns me an empty ssid. This is my piece of code for getting the ssid: public override string GetCurrentWiFi() { String ssid = ""; try { string[] supportedInterfaces; StatusCode status; if ((status = CaptiveNetwork.TryGetSupportedInterfaces(out supportedInterfaces)) != StatusCode.OK) { } else { foreach (var item in supportedInterfaces) {

Getting the SSID of the CONNECTED WIFI on IOS 12- Xamarin (Updated for iOS 13)

馋奶兔 提交于 2020-01-22 13:05:26
问题 I could get the ssid of the connected wifi to my iPhone. After Installing Xcode 10 and Updating Visual Studio for Mac and Visual Studio 2017, it returns me an empty ssid. This is my piece of code for getting the ssid: public override string GetCurrentWiFi() { String ssid = ""; try { string[] supportedInterfaces; StatusCode status; if ((status = CaptiveNetwork.TryGetSupportedInterfaces(out supportedInterfaces)) != StatusCode.OK) { } else { foreach (var item in supportedInterfaces) {

Getting the SSID of the CONNECTED WIFI on IOS 12- Xamarin (Updated for iOS 13)

心不动则不痛 提交于 2020-01-22 13:04:26
问题 I could get the ssid of the connected wifi to my iPhone. After Installing Xcode 10 and Updating Visual Studio for Mac and Visual Studio 2017, it returns me an empty ssid. This is my piece of code for getting the ssid: public override string GetCurrentWiFi() { String ssid = ""; try { string[] supportedInterfaces; StatusCode status; if ((status = CaptiveNetwork.TryGetSupportedInterfaces(out supportedInterfaces)) != StatusCode.OK) { } else { foreach (var item in supportedInterfaces) {

Is there a way to trigger the .always coreLocation permission proactively in iOS13?

倾然丶 夕夏残阳落幕 提交于 2020-01-22 09:58:12
问题 Under iOS13, when you request the .always permission for coreLocation (to enable background location e.g. for geofences or iBeacons), the app is only granted a "provisional always" permission, which does not allow it to use coreLocation in the background. At a later stage, in principle the OS should popup a permission request to switch to the .always permission. I have yet to experience it, and it seems (looking at Apple developer forums) that nobody have found a way to consistently trigger

Xcode 11.3 throws exception when running app on iOS 13 device, but not on simulator

放肆的年华 提交于 2020-01-22 01:34:11
问题 After upgrading to Xcode 11.3, our app throws an exception when running on an iOS 13.3 device. The exception does not occur at the same place every time, and the log indicates the exception is coming from com.apple.CoreAnalytics (see below). The exception is only thrown once. And, the exception is NOT thrown when I run the app on the simulator. Thanks in advance for your thoughts and ideas! 回答1: Sometimes Apple's frameworks use exceptions as an internal messaging technique. They probably

Xcode 11 Build System Bugged?

不羁的心 提交于 2020-01-21 17:52:46
问题 i have Xcode 11 GM with macOS Mojave 10.14.6. I have been experiencing problems with my app builds. What i mean is that the first time i compile and app on my iPhone, its okay but then if i make changes to the code and compile again it doesn't show those changes. But when i do it in the simulator the changes do show. In order to see the changes on my phone i have to uninstall and reinstall the app. I have also been looking for known issues on apples website: https://developer.apple.com

Xcode 11 Build System Bugged?

只愿长相守 提交于 2020-01-21 17:51:58
问题 i have Xcode 11 GM with macOS Mojave 10.14.6. I have been experiencing problems with my app builds. What i mean is that the first time i compile and app on my iPhone, its okay but then if i make changes to the code and compile again it doesn't show those changes. But when i do it in the simulator the changes do show. In order to see the changes on my phone i have to uninstall and reinstall the app. I have also been looking for known issues on apples website: https://developer.apple.com

Lazy Loading Data in iOS Carplay

白昼怎懂夜的黑 提交于 2020-01-19 16:24:10
问题 How to lazy load the items while the user scrolling in Carplay ? I am using beginLoadingChildItems from MPPlayableContentDataSource to load the first set of items but how I can call the next page when a user scrolls to the bottom of the page? 回答1: The way you can achieve this is inside the following function: func beginLoadingChildItems(at indexPath: IndexPath, completionHandler: @escaping (Error?) -> Void) As Example: if (indexPath[componentIndex] + 1) % Threshold == 0 { // Threshold is Your

View controller responds to app delegate notifications in iOS 12 but not in iOS 13

泪湿孤枕 提交于 2020-01-19 11:51:09
问题 I have an app that supports iOS 12. I am adding support for iOS 13. I have a view controller that needs to perform a quick action when the app goes to the background. Prior to iOS 13 that is simple enough. Add a line such as: NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIApplication.didEnterBackgroundNotification, object: nil) in viewDidLoad or maybe an init . Then add the didEnterBackground method: @objc func didEnterBackground() { // Do my