BogoNoNetworkView.m 661 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // BogoNoNetworkView.m
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2021/3/26.
  6. // Copyright © 2021 xfg. All rights reserved.
  7. //
  8. #import "BogoNoNetworkView.h"
  9. @implementation BogoNoNetworkView
  10. - (void)awakeFromNib{
  11. [super awakeFromNib];
  12. self.resetBtn.layer.cornerRadius = 4;
  13. self.resetBtn.layer.masksToBounds = YES;
  14. }
  15. - (IBAction)clickRestBtn:(UIButton *)sender {
  16. if (self.clickResetBlock) {
  17. self.clickResetBlock();
  18. }
  19. }
  20. /*
  21. // Only override drawRect: if you perform custom drawing.
  22. // An empty implementation adversely affects performance during animation.
  23. - (void)drawRect:(CGRect)rect {
  24. // Drawing code
  25. }
  26. */
  27. @end