2016-08-08 60 views

回答

0

這是很簡單的:你需要找到的看法地址在Object Inspector中(如果我理解正確的話,你想用視圖層次調試器): enter image description here 創建與LLDB這個地址的變量,並要求手勢識別財產來源:

(lldb) e UIView* $view = (UIView*) 0x10bd11cf0 
(lldb) po [$view gestureRecognizers] 
<__NSSingleObjectArrayI 0x170015f20>(
<UIGestureRecognizer: 0x174167200; state = Possible; view = <UIView 0x10bd11cf0>; target= <(action=gestureChanged:, target=<TestFacebookSDK.ViewController 0x100c0d6f0>)>> 
) 
相關問題