ios13

Crash :Foundation NSClassFromString+200 in iOS 13

*爱你&永不变心* 提交于 2019-12-24 18:05:33
问题 We have released the latest build with the minimum deployment target 10.We are getting the same many crashes in iOS 13 related to the background issues. We are enabling the following capabilities:
 1.background fetch 2.push notification(FireBase) 3.data protection as NSFileProtectionComplete. When checking the link : https://forums.developer.apple.com/thread/122858 Most answers are switching to NSFileProtectionCompleteUntilFirstUserAuthentication from NSFileProtectionComplete. Is this correct

Ionic-3 Photo-library plugin crashes in iOS version 13. Unexpectedly found nil while unwrapping an Optional value: file

ぃ、小莉子 提交于 2019-12-24 15:31:39
问题 Ionic-3 Photo-library plugin crashes in iOS version 13. Works fine in iOS 12 version. Here is the log: 2019-09-30 12:03:03.878478+0530 destinate[453:135517] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 “(null)”" Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Volumes/Data/Projects/Destinate/destinate/platforms/ios/destinate/Plugins/cordova-plugin-photo-library/PhotoLibraryService.swift, line 314 2019-09-30 12:03:04.117471+0530

How can I use suggestedActions given from UIContextMenuConfiguration?

只谈情不闲聊 提交于 2019-12-24 06:06:03
问题 Other than the a WWDC video - 44:18 a sample project there's not much info online. So the actionProvider , when called, has a list of suggestedActions that are passed to it by the system. This can be a mix of UIMenu s and UIAction s, so potentially a fully constructed hierarchy that are picked up from the system. These could be things that you defined in your responder chain using the new UI command API being introduced in iOS 13 or things that are offered by other system components. So we're

AVAssetReferenceRestrictions on iOS 13

ⅰ亾dé卋堺 提交于 2019-12-24 04:23:14
问题 Workspace: iOS 13.0, Xcode 11.0 TL;DR: Is there something wrong with AVAssetReferenceRestrictions in iOS 13? Part 1: In AVAsset.h , the AVAssetReferenceRestrictions are defined as: @enum AVAssetReferenceRestrictions @abstract These constants can be passed in to AVURLAssetReferenceRestrictionsKey to control the resolution of references to external media data. @constant AVAssetReferenceRestrictionForbidNone Indicates that all types of references should be followed. @constant

IOS 13 not raising panend events when changing panning direction

本秂侑毒 提交于 2019-12-24 01:12:37
问题 I have a custom image slider using Hammer.js events. I use the following to create my 'hammer' object: const hammerPan = new Hammer(domElement, { // lock vertical scrolling when panning left to right touchAction: 'pan-y', recognizers: [ // we don't care about vertical, but we want always to get panstart and panend // events so we use ALL to prevent unncesessary filtering from hammerjs [Hammer.Pan, { direction: Hammer.DIRECTION_ALL, threshold: 10 }] ] }); The slider (like most sliders) moves

ios 13.1 Cannot save file to App Directory

不问归期 提交于 2019-12-23 22:18:05
问题 I was writing an app in ios 13 and saving my own filetype to the apps own directory folder. I could see this in the Files app, with my apps name and icon. I have updated my ipad to ios 13.1 and cannot save or open any files. If I open the Files app, my apps directory doesn't even exist. Why would this have changed? I have tried uninstalling the app, and reinstalling it. I have checked my permissions were as before. It is like the main app directory is not being created, therefore any attempts

iOS 13 Changes to UISearchBar tint's, can't achieve the same outcome

旧街凉风 提交于 2019-12-23 22:16:38
问题 I've been experimenting all day and trying to figure out just how to get my UISearchBar to appear the same in iOS13 as it appears in iOS12/11 So the way the search bar is added is simply a new UISearchController. var searchController = new UISearchController(searchResultsController: null); searchController.SearchBar.Placeholder = "Search"; searchController.SearchResultsUpdater = this; searchController.HidesNavigationBarDuringPresentation = false; searchController

Can't set tab bar shadow image in iOS 13

我们两清 提交于 2019-12-23 20:34:20
问题 Before iOS13, I used the code below to remove the tab bar top border: UITabBar.appearance().shadowImage = UIImage() UITabBar.appearance().backgroundImage = UIImage() But it does not work with iOS13, and I am looking for a solution to this. Do you have any thoughts? 回答1: Swift 4+: In your TabBarController class write this: if #available(iOS 13, *) { let appearance = self.tabBar.standardAppearance.copy() appearance.backgroundImage = UIImage() appearance.shadowImage = UIImage() appearance

Debugging sporadic app crashes with dylib in iOS13/iPadOS 13

空扰寡人 提交于 2019-12-23 09:27:01
问题 After updating to iOS 13.x / iPadOS 13.x we see sporadic crashes with our recent Testflight builds. We've not seen reports from users using our pre-13 released version yet, but it seems not many have updated to 13 yet, so we really don't know. The app is a cordova-app with cordova-ios 5.0.2 using WkWebView. Data protection entitlement is set to full. I have a hard time making sense of the crash, and it seems to be somewhere deep in the iOS-stack? The crash is sporadic and seems only to happen

Detecting iOS Dark Mode Change

早过忘川 提交于 2019-12-23 09:01:22
问题 I read through the documentation regarding: https://developer.apple.com/documentation/appkit/supporting_dark_mode_in_your_interface When the user changes the system appearance, the system automatically asks each window and view to redraw itself. During this process, the system calls several well-known methods for both macOS and iOS, listed in the following table, to update your content. In our legacy app we create our views as lazy variables in the init of each class. This means thew won't