Open ludolphus opened 11 years ago
If you tap the last character of a link at the end of the label, the app will crash.
Sample string used:
var string = "Hello world. This is an addition by @dezinezync #winning. Coming soon to the NappUI module";
Call stack:
[DEBUG] 0 CoreFoundation 0x041545e4 __exceptionPreprocess + 180 [DEBUG] 1 libobjc.A.dylib 0x03df18b6 objc_exception_throw + 44 [DEBUG] 2 CoreFoundation 0x041543bb +[NSException raise:format:] + 139 [DEBUG] 3 Foundation 0x012a51a2 -[NSRLEArray objectAtIndex:effectiveRange:] + 131 [DEBUG] 4 Foundation 0x012a5100 -[NSConcreteMutableAttributedString attribute:atIndex:effectiveRange:] + 57 [DEBUG] 5 nappui 0x003f23a1 -[TiUILabel(Extend) touchesBegan:withEvent:] + 784 [DEBUG] 6 libobjc.A.dylib 0x03e03874 -[NSObject performSelector:withObject:withObject:] + 77 [DEBUG] 7 UIKit 0x017dbf92 forwardTouchMethod + 271 [DEBUG] 8 UIKit 0x017dbe7e -[UIResponder touchesBegan:withEvent:] + 30 [DEBUG] 9 UIKit 0x016c1efb -[UIWindow _sendTouchesForEvent:] + 386 [DEBUG] 10 UIKit 0x016c2d34 -[UIWindow sendEvent:] + 1232 [DEBUG] 11 UIKit 0x01696a36 -[UIApplication sendEvent:] + 242 [DEBUG] 12 UIKit 0x01680d9f _UIApplicationHandleEventQueue + 11421 [DEBUG] 13 CoreFoundation 0x040dd8af __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15 [DEBUG] 14 CoreFoundation 0x040dd23b __CFRunLoopDoSources0 + 235 [DEBUG] 15 CoreFoundation 0x040fa30e __CFRunLoopRun + 910 [DEBUG] 16 CoreFoundation 0x040f9b33 CFRunLoopRunSpecific + 467 [DEBUG] 17 CoreFoundation 0x040f994b CFRunLoopRunInMode + 123 [DEBUG] 18 GraphicsServices 0x04f069d7 GSEventRunModal + 192 [DEBUG] 19 GraphicsServices 0x04f067fe GSEventRun + 104 [DEBUG] 20 UIKit 0x0168394b UIApplicationMain + 1225 [DEBUG] 21 nappui 0x00003e28 main + 456 [DEBUG] 22 nappui 0x00002775 start + 53
This shouldn't be happening. Pushing this one to priority.
If you tap the last character of a link at the end of the label, the app will crash.
Sample string used:
Call stack: