nearly, there are too many crashes on ios 12 with iphonexs max, the crash information is : -[UILabel _startMarquee].
Replies
Is it a question, or just your expression of bad humor ?
What do you expect anyone to do with such a message ? Either you are looking for help, then you should provide detailed information about the crash (may be due to your code) or you are not looking for any help, in this case the message is irrelevant.
[CAGradientLayer _clearContents]: unrecognized selector sent to instance 0x2815c31a0
CoreFoundation | ___exceptionPreprocess + 232 |
1 libobjc.A.dylib | objc_exception_throw + 60 |
2 CoreFoundation | -[NSOrderedSet initWithSet:copyItems:] |
3 CoreFoundation | ____forwarding___ + 1412 |
4 CoreFoundation | _CF_forwarding_prep_0 + 96 |
5 UIKitCore | -[UILabel _startMarquee] + 3332 |
6 libdispatch.dylib | __dispatch_call_block_and_release + 32 |
7 libdispatch.dylib | __dispatch_client_callout + 20 |
8 libdispatch.dylib | _dispatch_main_queue_callback_4CF + 1012 |
9 CoreFoundation | ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 |
10 CoreFoundation | ___CFRunLoopRun + 1888 |
11 CoreFoundation | CFRunLoopRunSpecific + 452 |
12 GraphicsServices | GSEventRunModal + 108 |
13 UIKitCore | UIApplicationMain + 216 |
14 金囿 | main (main.m:14) |
15 libdyld.dylib | _start + 4 |
and it happpened only iphonexs max,and it always happened when the app go back from background to foreground ,could you help me, thanks
[CAGradientLayer _clearContents]: unrecognized selector sent to instance 0x2815c31a0
CoreFoundation | ___exceptionPreprocess + 232 |
1 libobjc.A.dylib | objc_exception_throw + 60 |
2 CoreFoundation | -[NSOrderedSet initWithSet:copyItems:] |
3 CoreFoundation | ____forwarding___ + 1412 |
4 CoreFoundation | _CF_forwarding_prep_0 + 96 |
5 UIKitCore | -[UILabel _startMarquee] + 3332 |
6 libdispatch.dylib | __dispatch_call_block_and_release + 32 |
7 libdispatch.dylib | __dispatch_client_callout + 20 |
8 libdispatch.dylib | _dispatch_main_queue_callback_4CF + 1012 |
9 CoreFoundation | ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 |
10 CoreFoundation | ___CFRunLoopRun + 1888 |
11 CoreFoundation | CFRunLoopRunSpecific + 452 |
12 GraphicsServices | GSEventRunModal + 108 |
13 UIKitCore | UIApplicationMain + 216 |
14 金囿 | main (main.m:14) |
15 libdyld.dylib | _start + 4 |
and it happpened only iphonexs max,and it always happened when the app go back from background to foreground ,could you help me, thanks
Could you show the code that causes the crash ?
Do you use published code in 2015 ?
open class MarqueeLabel: UILabel, CAAnimationDelegate { }
I did not find the class MarqueeLabel , the crash only happened on iphonexs max and go back from background to foreground . startMarquee is private method of UILabel. Is it other reason cause the crash, such as the using of CAGradientLayer , thanks.
I have the sam problem, I think it's not caused by the CAGradientLayer Class. now i have not found a solution
I problem comes from private method, you should probably use a DTS ticket to ask from help from Apple Support directly.
It only happened on iphonexs max , is it the same to you ?
OK, I will try, thank you very much !!
Hello, have you found the reason and solution?
Hello, have you found the reason and solution?
check all category, if have this method +(class)layerClass { [CAGradientLayer class]} ,you need remove it.because all view.layer will change CAGradientLayer
Hello, have you found the reason and solution to fix iphone xs max crash?
Hello, have you found the reason and solution to fix iphone xs max crash?