AboutUsViewController.m 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // AboutUsViewController.m
  3. // StudentDaya
  4. //
  5. // Created by Kyle on 2019/8/28.
  6. // Copyright © 2019 DayaMusic. All rights reserved.
  7. //
  8. #import "AboutUsViewController.h"
  9. #import "AboutBodyView.h"
  10. @interface AboutUsViewController ()
  11. @property (nonatomic, strong) AboutBodyView *bodyView;
  12. @end
  13. @implementation AboutUsViewController
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16. // Do any additional setup after loading the view.
  17. [self allocTitle:@"关于我们"];
  18. [self configUI];
  19. }
  20. - (void)configUI {
  21. _bodyView = [AboutBodyView shareInstance];
  22. _bodyView.frame = CGRectMake(0, 0, kScreenWidth, kScreenHeight - kNaviBarHeight - iPhoneXSafeBottomMargin);
  23. [self.scrollView addSubview:_bodyView];
  24. }
  25. /*
  26. #pragma mark - Navigation
  27. // In a storyboard-based application, you will often want to do a little preparation before navigation
  28. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  29. // Get the new view controller using [segue destinationViewController].
  30. // Pass the selected object to the new view controller.
  31. }
  32. */
  33. @end