Commit 05f361f4 authored by 余书懿's avatar 余书懿

修复在用户禁止访问系统相册,里面的引导 在iPad屏幕变窄时没有适配的问题

parent a76b4494
...@@ -180,7 +180,8 @@ ...@@ -180,7 +180,8 @@
_tipLabel.numberOfLines = 0; _tipLabel.numberOfLines = 0;
_tipLabel.font = [UIFont systemFontOfSize:16]; _tipLabel.font = [UIFont systemFontOfSize:16];
_tipLabel.textColor = [UIColor blackColor]; _tipLabel.textColor = [UIColor blackColor];
_tipLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth;
NSDictionary *infoDict = [TZCommonTools tz_getInfoDictionary]; NSDictionary *infoDict = [TZCommonTools tz_getInfoDictionary];
NSString *appName = [infoDict valueForKey:@"CFBundleDisplayName"]; NSString *appName = [infoDict valueForKey:@"CFBundleDisplayName"];
if (!appName) appName = [infoDict valueForKey:@"CFBundleName"]; if (!appName) appName = [infoDict valueForKey:@"CFBundleName"];
...@@ -194,6 +195,8 @@ ...@@ -194,6 +195,8 @@
_settingBtn.frame = CGRectMake(0, 180, self.view.tz_width, 44); _settingBtn.frame = CGRectMake(0, 180, self.view.tz_width, 44);
_settingBtn.titleLabel.font = [UIFont systemFontOfSize:18]; _settingBtn.titleLabel.font = [UIFont systemFontOfSize:18];
[_settingBtn addTarget:self action:@selector(settingBtnClick) forControlEvents:UIControlEventTouchUpInside]; [_settingBtn addTarget:self action:@selector(settingBtnClick) forControlEvents:UIControlEventTouchUpInside];
_settingBtn.autoresizingMask = UIViewAutoresizingFlexibleWidth;
[self.view addSubview:_settingBtn]; [self.view addSubview:_settingBtn];
if ([PHPhotoLibrary authorizationStatus] == 0) { if ([PHPhotoLibrary authorizationStatus] == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment