uploadImageOrVideoViewController.m 991 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // uploadImageOrVideoViewController.m
  3. // 隐私保护
  4. //
  5. // Created by xd h on 2023/11/9.
  6. //
  7. #import "uploadImageOrVideoViewController.h"
  8. #import <AssetsLibrary/AssetsLibrary.h>
  9. @interface uploadImageOrVideoViewController ()
  10. @property (weak, nonatomic) UILabel *titleLabel;
  11. @end
  12. @implementation uploadImageOrVideoViewController
  13. - (void)viewDidLoad {
  14. [super viewDidLoad];
  15. // Do any additional setup after loading the view.
  16. [self.view setBackgroundColor:HWF5F7FAColor];
  17. [self.toolBar setHidden:YES];
  18. [self.navigationBar setHidden:YES];
  19. [self.navBarBGView setHidden:NO];
  20. [self initBaselUIFun];
  21. }
  22. - (void)initBaselUIFun
  23. {
  24. //title
  25. UILabel *titleLabel = [[UILabel alloc] init];
  26. titleLabel.textAlignment = NSTextAlignmentCenter;
  27. titleLabel.textColor = [UIColor whiteColor];
  28. titleLabel.translatesAutoresizingMaskIntoConstraints = NO;
  29. [self.navBarBGView addSubview:titleLabel];
  30. self.titleLabel = titleLabel;
  31. }
  32. @end