[UIScrollView _getDelegateZoomView]
UIKit -[UIScrollView_offsetForCenterOfPossibleZoomView:withIncomingBoundsSize:] + 64html
閃退場景一:recorder deleteRecording 以前 先判斷文件是否存在,不然會形成過分釋放,解決方法:git
if ([[NSFileManager defaultManager] fileExistsAtPath:self.recorder.url.path]) {
if ([self.recorder deleteRecording])
NSLog(@"Failed to delete %@", self.recorder.url);
}github
閃退場景二: delegate = nil 。
將XXViewContrller設置爲delegate時,當頁面發生跳轉時,XXViewController的對象會被釋放,這是代碼走到[_delegate callbackMethod],便出現crash。解決方法有二:1.將@property (nonatomic ,assign) id
http://www.cnblogs.com/smileEvday/p/iOSCrash.htmlatom
Perfect, an exact replica of the crash report, so now I know with confidence that the problem is that theARArtworkViewControlleris released by the time that method is called.
問題的方向是對的,都是vc提早釋放,而後野指針的問題引發,
block 強引用一樣會產生此類問題url