Skip to content

Commit 8c70406

Browse files
committed
notScaleImage默认值设为YES,不主动缩放图片,降低内存占用
1 parent b70eecc commit 8c70406

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TZImagePickerController/TZImagePickerController/TZImagePickerController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ - (void)configDefaultSetting {
271271
self.barItemTextFont = [UIFont systemFontOfSize:15];
272272
self.barItemTextColor = [UIColor whiteColor];
273273
self.allowPreview = YES;
274-
self.notScaleImage = NO;
274+
// 2.2.26版本,不主动缩放图片,降低内存占用
275+
self.notScaleImage = YES;
275276
self.statusBarStyle = UIStatusBarStyleLightContent;
276277
self.cannotSelectLayerColor = [[UIColor whiteColor] colorWithAlphaComponent:0.8];
277278
self.allowCameraLocation = YES;

0 commit comments

Comments
 (0)