- (void)addSubview:(UIView *)view;
添加一个子控件view

- (void)removeFromSuperview;
将自己从父控件中移除

- (UIView *)viewWithTag:(NSInteger)tag;
根据一个tag标识找出对应的控件(一般都是子控件)

相关文章:

  • 2021-10-18
  • 2022-02-19
  • 2021-08-23
  • 2022-12-23
  • 2022-01-05
  • 2021-05-24
  • 2021-08-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-29
  • 2021-07-22
  • 2022-12-23
  • 2021-05-24
  • 2021-08-09
  • 2022-12-23
相关资源
相似解决方案