Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[WEEX-94][iOS] fix iOS 8 scrollview assign delegate crash #838

Merged

Commits on Nov 7, 2017

  1. [WEEX-94][iOS] fix iOS 8 scrollview assign delegate crash

    As iOS developers all knowns, assign property will not be set nil when its
    object deallocated, and weak object will does, so we must set it to the nil
    value, in case of crash about messaging to zombie object. In iOS 8 and
    the older iOS, the property of delegate of UIScrollView is assign, so we
    must set it to nil manually when object deallocated. And in iOS 9 and later
    iOS, apple change the delegate property of UIScrollView it to weak, so we
    don't set it to nil value any more. For compatibility on iOS 8, here we must
    set it to nil value.
    
    Bug: 94
    acton393 committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    e0564d1 View commit details
    Browse the repository at this point in the history