| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // MORulesWebBaseVC.m
- // MiMoLive
- //
- // Created by SuperC on 2025/9/11.
- //
- #import "MORulesWebBaseVC.h"
- #import "MOWebBaseView.h"
- @interface MORulesWebBaseVC ()
- @property (nonatomic, strong) MOWebBaseView *webView;
- @end
- @implementation MORulesWebBaseVC
- - (void)viewWillAppear:(BOOL)animated
- {
- [super viewWillAppear:animated];
- [self.navigationController setNavigationBarHidden:NO animated:animated];
-
- [self mo_v2_setNavLeftItemWithImage:[UIImage imageNamed:@"v_2_icon_new_back_black"] andBackgroundImg:nil AndBgColor:[UIColor whiteColor]];
- }
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
-
- self.navigationItem.title = NSLocalString(@"C60017");
-
- [self setupUI];
-
- self.webView.webUrl = [NSURL URLWithString:self.urlStr];
- [self.webView toLoadTheUrl];
- }
- - (void)setupUI{
- [self.view addSubview:self.webView];
- [self.webView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.equalTo(self.view).offset(0.0);
- make.left.bottom.right.equalTo(self.view);
- }];
- }
- - (MOWebBaseView *)webView{
- if(!_webView){
- _webView = [[MOWebBaseView alloc] init];
- }
- return _webView;
- }
- @end
|