We see this strange error that I cannot find on the Internet yet. There is only one message with no response or workaround:
https://groups.google.com/forum/#!topic/phonegap/7pRzASZpnQc
We created an application with Angular, Underscore, angular -route, angular -touch, angular -animate, CSS Flex and Cordova 3.1.0 layouts, and also on Android 4.0 ++ everything works like a charm.
When we switched to iOS on Mac and added the iOS platform, we compiled it into Xcode5, and the application worked on some HTML representations (not all) when we click or try to scroll simulators for iPhone 6.1 and 7 with this call stack:
2013-11-12 17:22:49.193 App[7034:907] -[__NSCFSet opacity]: unrecognized selector sent to instance 0x98e8660
2013-11-12 17:22:49.194 App[7034:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFSet opacity]: unrecognized selector sent to instance 0x98e8660'
*** First throw call stack:
(0x119012 0x1f44e7e 0x1a44bd 0x108bbc 0x10894e 0x39e458 0x3c7d7d 0x3b2574 0x3b6a97 0x61f85a 0x61e99b 0x6200df 0x622d2d 0x622cac 0x61aa28 0x387972 0x387e53 0x365d4a 0x357698 0x30b1df9 0x30b1ad0 0x8ebf5 0x8e962 0xbfbb6 0xbef44 0xbee1b 0x30b07e3 0x30b0668 0x354ffc 0x2308c 0x2301d)
libc++abi.dylib: terminate called throwing an exception
The views with which this happens are basically just HTML and CSS AngularJS views with some data defined in the controller using the $ scope scope.
Has anyone ever seen anything like this? Are there any problems with Alpha, Opacity or CSS or are they so known?
In iOS 6.1, one of the two views works, while on iOS 7 two kinds of application crashes.
Challenges:
UIView (Rendering) alpha)
UIScrollView _adjustScrollerInicatorsShowingThem:
UIScrollView _updatePanGesture
UIScrollView handlePan
UIGestureRecognizerSendActions
UIGestureRecognizer _updateGestureWithEvent:buttonEvent
UIGestureRecognizer _delayedUpdateGesture
.....
....
UIWindows sendEvent
UIApplicationEvenQueue
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM ....
...
....
......
........
GSEventRun
UIApplicationMain
main
source
share