Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
dz_TZImagePickerController
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shuijing
dz_TZImagePickerController
Commits
7b51c36b
Commit
7b51c36b
authored
Jan 27, 2018
by
yuzheng.tz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复越南语下完成按钮显示不下的问题
parent
37e45c2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
TZImagePickerController/TZImagePickerController/TZImagePickerController.h
...troller/TZImagePickerController/TZImagePickerController.h
+1
-1
TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m
...troller/TZImagePickerController/TZPhotoPickerController.m
+3
-2
TZImagePickerController/TZImagePickerController/TZPhotoPreviewController.m
...roller/TZImagePickerController/TZPhotoPreviewController.m
+3
-2
No files found.
TZImagePickerController/TZImagePickerController/TZImagePickerController.h
View file @
7b51c36b
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
@property
(
nonatomic
,
assign
)
BOOL
allowTakePicture
;
@property
(
nonatomic
,
assign
)
BOOL
allowTakePicture
;
/// 首选语言,如果设置了就用该语言,不设则取当前系统语言。
/// 首选语言,如果设置了就用该语言,不设则取当前系统语言。
/// 由于目前只支持中文、繁体中文、英文
。故该属性只支持zh-Hans、zh-Hant、en三
种值,其余值无效。
/// 由于目前只支持中文、繁体中文、英文
、越南语。故该属性只支持zh-Hans、zh-Hant、en、vi四
种值,其余值无效。
@property
(
copy
,
nonatomic
)
NSString
*
preferredLanguage
;
@property
(
copy
,
nonatomic
)
NSString
*
preferredLanguage
;
/// Default is YES, if set NO, user can't preview photo.
/// Default is YES, if set NO, user can't preview photo.
...
...
TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m
View file @
7b51c36b
...
@@ -307,8 +307,9 @@ static CGFloat itemMargin = 5;
...
@@ -307,8 +307,9 @@ static CGFloat itemMargin = 5;
_originalPhotoButton
.
frame
=
CGRectMake
(
CGRectGetMaxX
(
_previewButton
.
frame
),
0
,
fullImageWidth
+
56
,
50
);
_originalPhotoButton
.
frame
=
CGRectMake
(
CGRectGetMaxX
(
_previewButton
.
frame
),
0
,
fullImageWidth
+
56
,
50
);
_originalPhotoLabel
.
frame
=
CGRectMake
(
fullImageWidth
+
46
,
0
,
80
,
50
);
_originalPhotoLabel
.
frame
=
CGRectMake
(
fullImageWidth
+
46
,
0
,
80
,
50
);
}
}
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
44
-
12
,
3
,
44
,
44
);
[
_doneButton
sizeToFit
];
_numberImageView
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
56
-
28
,
10
,
30
,
30
);
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
_doneButton
.
tz_width
-
12
,
0
,
_doneButton
.
tz_width
,
toolBarHeight
);
_numberImageView
.
frame
=
CGRectMake
(
_doneButton
.
tz_left
-
30
-
2
,
(
toolBarHeight
-
30
)
/
2
,
30
,
30
);
_numberLabel
.
frame
=
_numberImageView
.
frame
;
_numberLabel
.
frame
=
_numberImageView
.
frame
;
_divideLine
.
frame
=
CGRectMake
(
0
,
0
,
self
.
view
.
tz_width
,
1
);
_divideLine
.
frame
=
CGRectMake
(
0
,
0
,
self
.
view
.
tz_width
,
1
);
...
...
TZImagePickerController/TZImagePickerController/TZPhotoPreviewController.m
View file @
7b51c36b
...
@@ -246,8 +246,9 @@
...
@@ -246,8 +246,9 @@
_originalPhotoButton
.
frame
=
CGRectMake
(
0
,
0
,
fullImageWidth
+
56
,
44
);
_originalPhotoButton
.
frame
=
CGRectMake
(
0
,
0
,
fullImageWidth
+
56
,
44
);
_originalPhotoLabel
.
frame
=
CGRectMake
(
fullImageWidth
+
42
,
0
,
80
,
44
);
_originalPhotoLabel
.
frame
=
CGRectMake
(
fullImageWidth
+
42
,
0
,
80
,
44
);
}
}
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
44
-
12
,
0
,
44
,
44
);
[
_doneButton
sizeToFit
];
_numberImageView
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
56
-
28
,
7
,
30
,
30
);
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
_doneButton
.
tz_width
-
12
,
0
,
_doneButton
.
tz_width
,
toolBarHeight
);
_numberImageView
.
frame
=
CGRectMake
(
_doneButton
.
tz_left
-
30
-
2
,
(
toolBarHeight
-
30
)
/
2
,
30
,
30
);
_numberLabel
.
frame
=
_numberImageView
.
frame
;
_numberLabel
.
frame
=
_numberImageView
.
frame
;
[
self
configCropView
];
[
self
configCropView
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment