ios - KVC in UITableView subclass causing crash with accessibility enabled -
i have custom uitableview
subclass in override +accessinstancevariablesdirectly
return no
in order ensure attributes no setter cannot set using kvc.
when removing table view view hierarchy, app crashes - - , weird part: if accessibility enabled! (i.e. accessibility inspector visible, or have accessibility enabled on physical device)
if not override +accessinstancevariablesdirectly
, works fine. figured maybe uitableview
relies on accessing instance variables directly - point of method, if can break superclasses using it? there way specify behavior per-attribute, +automaticallynotifiesobserversforkey:
? baffled fact issue exists when accessibility enabled.
i tried analyzing project various instruments, without success.
you can find minimal project reproducing issue here. appreciate pointers on why happening or how achieve want nonetheless.
this issue appears fixed in ios 9.
Comments
Post a Comment