Post

Replies

Boosts

Views

Activity

Reply to iOS 10 __abort_with_payload when removing subview
Do you have solved this problem?? I have the same problem but all iOS 13CrashReporter Key: ae6f33883d41bb2a03f741910f3ab68708e42789Hardware Model: iPhone9,4Date/Time: 2020-06-05T02:10:46ZLaunch Time: 2020-06-05T02:10:45ZOS Version: iOS 13.3.1 (17D50)Report Version: 104Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x00000000 at 0x00000001ae06c930Crashed Thread: 0Thread 0 Crashed:0 libsystem_kernel.dylib 0x1ae06c930 0x1ae049000 + ___abort_with_payload1 libsystem_kernel.dylib 0x1ae070ec0 0x1ae049000 + _abort_with_payload_wrapper_internal2 libobjc.A.dylib 0x1adfba244 0x1adf98000 + _objc_fatalv3 libobjc.A.dylib 0x1adfba1dc 0x1adf98000 + _objc_fatalv4 libobjc.A.dylib 0x1adfb696c 0x1adf98000 + _weak_clear_no_lock5 libobjc.A.dylib 0x1adfb86c8 0x1adf98000 + _objc_initWeak6 UIKitCore 0x1b1ce96f8 0x1b18f9000 + -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]7 UIKitCore 0x1b2788f54 0x1b18f9000 + -[UIView(Internal) _didMoveFromWindow:toWindow:]8 UIKitCore 0x1b277d0e0 0x1b18f9000 + ___45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke9 UIKitCore 0x1b277cfc8 0x1b18f9000 + -[UIView(Hierarchy) _postMovedFromSuperview:]10 UIKitCore 0x1b277b2b0 0x1b18f9000 + ___UIViewWasRemovedFromSuperview11 UIKitCore 0x1b277ad90 0x1b18f9000 + -[UIView(Hierarchy) removeFromSuperview]I remove the view after animation:[UIView animateWithDuration:0.3f animations:^{ self.loadingView.alpha = 0.0f;} completion:^(BOOL finished) { [self.loadingView endLoading]; [self.loadingView removeFromSuperview]; self.loadingView = nil;}];
Jun ’20