IOS 8 returns Crash during animation execution

Source: Internet
Author: User

In the previous project there has been a iOS8 [Uiscrollview (uiscrollviewinternal) _notifydidscroll] crash problem, existed for a long time, then reproduce the problem, the return is the execution of the animation in the process of pop problem   Scene: In the Product Details page after adding the car   did slide to the following product recommended location, when the animation has not been completed, the pop back to the previous page, the following crash  reference document will occur  https:// Stackoverflow.com/questions/26103756/uiscrollview-internal-consistency-crash   crashed: COM.APPLE.MAIN-THREAD0  LIBOBJC. a.dylib                 0X195287BDC Objc_msgsend + 281  uikit                           0X18876FBBC-[ Uiscrollview (uiscrollviewinternal) _notifydidscroll] + 722  uikit                            0X1884ACDB4-[uiscrollview Setcontentoffset:] + 5003  UIKIT    &NBsp;                      0x188562a98-[uitableview Setcontentoffset:] + 3004  uikit                            0x188646234-[uianimator (Static) _advanceanimationsoftype:withtimestamp:] + 3165   QuartzCore                      0x187e2629c CA::D isplay::D isplaylinkitem::d ispatch () + 326   quartzcore                      0x187e26134 CA::D isplay::D isplaylink::d ispatch_items (unsigned long long, unsigned Long long, unsigned long long) + 3247  iokit                            0x184c01470 Iodispatchcalloutfromcfmessage + 3768  corefoundation                  0X1839F2DC4 __cfmachportperform + 1809   corefoundation                  0x183a07a54 __cfrunloop_is_calling_out_to_a_source1_perform_function__ + 5610 CoreFoundation                  0X183A079B4 __ CFRunLoopDoSource1 + 43611 corefoundation                  0x183a05934 __cfrunlooprun + 164012 corefoundation                  0x1839312d4 CFRunLoopRunSpecific + 39613 graphicsservices               0X18D1476FC GSEventRunModal + 16814 UIKit                            0X1884F6FAC Uiapplicationmain + 148815 ZZKKO                            0x100393c74 Main (main.m:16) libdyld.dylib                   0x1958f2a08 start + 4   Reason: The TableView has been removed after Viewcontroller is removed from the stack by the controller POPs under the IOS8 system, but the proxy method will still attempt to invoke the send message to its delegate method.    workaround  -(void) dealloc {    self.tableView.delegate = nil;    Self.tableView.dataSource = nil;}

Crash is returned during IOS 8 animation execution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.