There are some UISwitches at page (xamarin forms)
After keyboard opening there is a crash related to haptic feedback:
Terminating app due to an uncaught exception 'NSInternalInconsistencyException', reason: 'Exception raised while auto-deactivating for style 2: force deactivating with style TurnOn which is not active
It looks like iOS issue, and I have not found any workarounds.
Related
I have a three textfields Email ID, Mobile Number, Name in webview. When I enter an invalid email id and move to mobile number textfield a validation popup is displayed "Please Enter Email ID". However, when double tapping the mobile number textfield the app crashes and I get the below crash report.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modally a view controller <WebValidationBubbleViewController: 0x131ddf7e0> that is already being presented by <Mx_ScreenController: 0x1330a4800>.'
Please help me to resolve it
I just add the text field as a search bar, didn't set any delegate or other stuff. I change the App language and after reloading the view just tap on the text field app gets crashed.
Xcode console shows.
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2022-02-09 08:57:03.357146-0500 NXO - TASC Towers[3082:658326] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
Don't know where it getting out of the index. Please help me if you can.
If you set your preferred language to Albanian(Shqip) and your keyboard to Albanian language your app will crash if you tap on an UITextField that has it's return type set to Continue.
Phone Language Settings
UITextField options
The error that Xcode throws:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
It may be an Apple bug. From exception, it looks like it is crashing because of an empty placeholder value. Try adding some text value to Placeholder Text.
There is a scenario, when I try to take a picture on a device and I press the "shutter" button and right after that I press cancel (dismiss) – as a result, I get error that I can't track. It says:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: UIImagePickerControllerOriginalImage)'
*** First throw call stack:
(0x18271c2d8 0x193f400e4 0x182605428 0x18df304e8 0x18df30188 0x18df7d728 0x18df7dd28 0x188ef111c 0x188ef08a4 0x100f80fd4 0x100f80f94 0x100f85c28 0x1826d37f8 0x1826d18a0 0x1825fd2d4 0x18be136fc 0x1871c2fac 0x1002c35c0 0x1945bea08)
More information about the context:
I have iPhone 6 running iOS 8.3
I'm using the UIImagePickerController it crashes before calling the "imagePickerController: didFinishPickingMediaWithInfo:" method.
I have custom overlay with cancel button, which calls method to dismiss the UIImagePickerController.
Is this a common bug of the iOS or do I have something wrong?
Could it be because I use custom overlay with the custom cancel button?
I have created a phone gap app having two select boxes for date control and time control. On tapping more than once on any of these select boxes causes the app to crash. It gives the following error:
Error 1.** WebKit discarded an uncaught exception in the webView:willRemoveScrollingLayer:withContentsLayer:forNode: delegate: -[WebActionDisablingCALayerDelegate setBeingRemoved:]: unrecognized selector sent to instance 0x78f35320
Error 2. Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.
I have read an answer (UIActivityViewController crashing on iOS8 iPads) to solve this by native approach. Can anyone let me know how to fix it in the hybrid app.
Thanks
in my case (phonegap app with OnsenUI Framework) I faced the same problem and I figured out it happens due to -webkit-overflow-scrolling: touch; on multiple elements inside a wrapper. After removing the error was gone (at least in my case)