123456789101112131415161718192021222324252627282930 |
- //
- // MyUserIconVC.m
- // smartRhino
- //
- // Created by niuzhen on 2020/2/26.
- // Copyright © 2020 tederen. All rights reserved.
- //
- #import "MyUserIconVC.h"
- @interface MyUserIconVC ()
- @property (weak, nonatomic) IBOutlet UIImageView *iconView;
- @end
- @implementation MyUserIconVC
- +(MyUserIconVC *)initMyUserIconVC{
- MyUserIconVC *controller = [StoryboardManager.shared.myCenter instantiateViewControllerWithIdentifier:@"MyUserIconVC"];
- return controller;
- }
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.fd_prefersNavigationBarHidden = YES;
- self.view.backgroundColor = UIColorHex(0x000000);
- NSString * urlString = [AppUserModel sharedAppUserModel].AvatarUrl;
- NSString *strUrl = [urlString stringByReplacingOccurrencesOfString:@"_50_50" withString:@""];
- [self.iconView sd_setImageWithURL:[NSURL URLWithString:strUrl]];
- }
- @end
|