Crash on EXC_Breakpoint Scroll View

前端 未结 3 811
误落风尘
误落风尘 2021-02-19 15:39

This is a new problem I have been having ever since I\'ve been updating my app for iOS 7. Everytime I launch the app on my device or simulator, I get this error code

Re

3条回答
  •  余生分开走
    2021-02-19 15:53

    I was facing the exact situation. I enabled NSZombie, gave me the exact same error in ios7.

    In viewDidLoad

    [self setEdgesForExtendedLayout:UIRectEdgeNone];
    

    Solved my crash. You can also try from storyboard unselect the Extended Edges >> Under top bars.

    see the answer here https://stackoverflow.com/a/18892358/1378447

    N.B. It is still a mystery to me why 'scrollViewDidScroll' delegate method is being called even after dealloc.

提交回复
热议问题