ios13.4

iOS 13.4 Crashes app with vague message: precondition failure: type check failed: 101, expected Text, got _HiddenModifier

隐身守侯 提交于 2021-02-10 07:27:31
问题 Sorry to be vague in the description here, but this has caused my app to be completely DOA when a user attempts to use my search feature. This did not happen before iOS 13.4 and the error message is not helpful at all. Cant find any info. Has anyone run into this? where could it be? The app crashes at the point where in my SwiftUI file, I populate the view using a ForEach from an array, which is an observable object: ForEach(self.listArray.searchDataArray, id: \.self) { fetchedData in Ill

Can't handle touches simultaneously with WKWebView on iOS 13.4

假装没事ソ 提交于 2020-08-22 06:26:06
问题 Problem: Starting from iOS 13.4 WebKit intercepts gestures that previously were passed to the system and could be handled by UIGestureRecognizer simultaneously Demo project: I created WKWebView and added it to UIViewController 's view. I created also UIPinchGestureRecognizer and added it to UIViewControler 's view as well. class ViewController: UIViewController, UIGestureRecognizerDelegate, WKNavigationDelegate { var webView: WKWebView? override func viewDidLoad() { super.viewDidLoad() let

WKWebview allowsLinkPreview to false breaks text selection

十年热恋 提交于 2020-06-12 06:17:33
问题 We have an app that uses WKWebview, but sets allowsLinkPreview to false because we don't want link preview behavior. It seems that starting with iOS 13.4, on devices that don't have 3D touch functionality (older devices and newer iphone models), setting allowsLinkPreview to false also disables all text selection in the page! For our app, text selection is critically important. I came up with this theory reading between the lines in the documentation: In iOS this property is available on

WKWebview allowsLinkPreview to false breaks text selection

≡放荡痞女 提交于 2020-06-12 06:11:30
问题 We have an app that uses WKWebview, but sets allowsLinkPreview to false because we don't want link preview behavior. It seems that starting with iOS 13.4, on devices that don't have 3D touch functionality (older devices and newer iphone models), setting allowsLinkPreview to false also disables all text selection in the page! For our app, text selection is critically important. I came up with this theory reading between the lines in the documentation: In iOS this property is available on

WKWebview allowsLinkPreview to false breaks text selection

喜你入骨 提交于 2020-06-12 06:11:10
问题 We have an app that uses WKWebview, but sets allowsLinkPreview to false because we don't want link preview behavior. It seems that starting with iOS 13.4, on devices that don't have 3D touch functionality (older devices and newer iphone models), setting allowsLinkPreview to false also disables all text selection in the page! For our app, text selection is critically important. I came up with this theory reading between the lines in the documentation: In iOS this property is available on