UIViewController
>UIView
>testButton
>testView
此时,从storyboard是无法拖线到testView的,但是在testView中写入:
@property (nonatomic, weak) IBOutlet UIButton *btn; 然后拖线到storyboad中的testButton,就可以成功在
testView中拿到和它平级的testButton