ViewController的成员变量不可以这样命名

  • inputView
/// 当页面内的某些子视图调用[self becomeFirstResponder]时,会Crash
@property UIView *inputView;
  • tagView
/// 命名为tagView并不会造成Crash,但可能对此view进行某些操作时会没效果。
@property UIView *tagView;

你可能感兴趣的:(ViewController的成员变量不可以这样命名)