我有这个属性:
@property (retain, nonatomic) IBOutlet UIButton *dismissKeyboardButton;
和这一行之后的断点:
self.dismissKeyboardButton.hidden = NO;
此断点后代码已停止。在lldb控制台中,我使用以下方法检查按钮:
(lldb) po self.dismissKeyboardButton
$2 = 0x0966b240 <UIButton: 0x966b240; frame = (431 234; 49 44); opaque = NO; autoresize = TM+BM; layer = <CALayer: 0x966b300>>
但是,我无法检查其UIView超类的属性,例如
(lldb) po self.dismissKeyboardButton.hidden
error: expected getter method not found on object of type 'UIButton *'
error: 1 errors parsing expression
你能通过lldb访问超类的getter方法,如果是的话,怎么做?