Files
GiGaMaskTime/GIGA/Modules/Mask/Exercises/Controller/SHareTestImageVC.m
T
2018-09-21 18:27:32 +08:00

44 lines
1.1 KiB
Objective-C

//
// SHareTestImageVC.m
// GIGA
//
// Created by lianxiang on 2018/9/21.
// Copyright © 2018年 com.giga.ios. All rights reserved.
//
#import "SHareTestImageVC.h"
@interface SHareTestImageVC ()
@end
@implementation SHareTestImageVC
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
UIImageView *ima = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width,self.view.frame.size.height)];
ima.contentMode = UIViewContentModeScaleAspectFit;
ima.image = self.image;
[self.view addSubview:ima];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end