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
e7784f2a
Commit
e7784f2a
authored
Jul 21, 2021
by
Jerry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复完成按钮显示多语言不完整的Bug
parent
89db3ae6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
TZImagePickerController/TZImagePickerController/TZGifPhotoPreviewController.m
...ler/TZImagePickerController/TZGifPhotoPreviewController.m
+2
-1
TZImagePickerController/TZImagePickerController/TZVideoEditedPreviewController.m
.../TZImagePickerController/TZVideoEditedPreviewController.m
+2
-1
TZImagePickerController/TZImagePickerController/TZVideoPlayerController.m
...troller/TZImagePickerController/TZVideoPlayerController.m
+2
-1
No files found.
TZImagePickerController/TZImagePickerController/TZGifPhotoPreviewController.m
View file @
e7784f2a
...
@@ -118,7 +118,8 @@
...
@@ -118,7 +118,8 @@
_previewView
.
scrollView
.
frame
=
self
.
view
.
bounds
;
_previewView
.
scrollView
.
frame
=
self
.
view
.
bounds
;
CGFloat
toolBarHeight
=
44
+
[
TZCommonTools
tz_safeAreaInsets
].
bottom
;
CGFloat
toolBarHeight
=
44
+
[
TZCommonTools
tz_safeAreaInsets
].
bottom
;
_toolBar
.
frame
=
CGRectMake
(
0
,
self
.
view
.
tz_height
-
toolBarHeight
,
self
.
view
.
tz_width
,
toolBarHeight
);
_toolBar
.
frame
=
CGRectMake
(
0
,
self
.
view
.
tz_height
-
toolBarHeight
,
self
.
view
.
tz_width
,
toolBarHeight
);
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
44
-
12
,
0
,
44
,
44
);
[
_doneButton
sizeToFit
];
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
_doneButton
.
tz_width
-
12
,
0
,
_doneButton
.
tz_width
,
44
);
TZImagePickerController
*
tzImagePickerVc
=
(
TZImagePickerController
*
)
self
.
navigationController
;
TZImagePickerController
*
tzImagePickerVc
=
(
TZImagePickerController
*
)
self
.
navigationController
;
if
(
tzImagePickerVc
.
gifPreviewPageDidLayoutSubviewsBlock
)
{
if
(
tzImagePickerVc
.
gifPreviewPageDidLayoutSubviewsBlock
)
{
...
...
TZImagePickerController/TZImagePickerController/TZVideoEditedPreviewController.m
View file @
e7784f2a
...
@@ -87,7 +87,8 @@
...
@@ -87,7 +87,8 @@
CGFloat
toolBarHeight
=
44
+
[
TZCommonTools
tz_safeAreaInsets
].
bottom
;
CGFloat
toolBarHeight
=
44
+
[
TZCommonTools
tz_safeAreaInsets
].
bottom
;
_toolBar
.
frame
=
CGRectMake
(
0
,
self
.
view
.
tz_height
-
toolBarHeight
,
self
.
view
.
tz_width
,
toolBarHeight
);
_toolBar
.
frame
=
CGRectMake
(
0
,
self
.
view
.
tz_height
-
toolBarHeight
,
self
.
view
.
tz_width
,
toolBarHeight
);
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
44
-
12
,
0
,
44
,
44
);
[
_doneButton
sizeToFit
];
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
_doneButton
.
tz_width
-
12
,
0
,
_doneButton
.
tz_width
,
44
);
_playButton
.
frame
=
CGRectMake
(
0
,
statusBarAndNaviBarHeight
,
self
.
view
.
tz_width
,
self
.
view
.
tz_height
-
statusBarAndNaviBarHeight
-
toolBarHeight
);
_playButton
.
frame
=
CGRectMake
(
0
,
statusBarAndNaviBarHeight
,
self
.
view
.
tz_width
,
self
.
view
.
tz_height
-
statusBarAndNaviBarHeight
-
toolBarHeight
);
_playerLayer
.
frame
=
self
.
view
.
bounds
;
_playerLayer
.
frame
=
self
.
view
.
bounds
;
}
}
...
...
TZImagePickerController/TZImagePickerController/TZVideoPlayerController.m
View file @
e7784f2a
...
@@ -174,7 +174,8 @@
...
@@ -174,7 +174,8 @@
_playerLayer
.
frame
=
self
.
view
.
bounds
;
_playerLayer
.
frame
=
self
.
view
.
bounds
;
CGFloat
toolBarHeight
=
44
+
[
TZCommonTools
tz_safeAreaInsets
].
bottom
;
CGFloat
toolBarHeight
=
44
+
[
TZCommonTools
tz_safeAreaInsets
].
bottom
;
_toolBar
.
frame
=
CGRectMake
(
0
,
self
.
view
.
tz_height
-
toolBarHeight
,
self
.
view
.
tz_width
,
toolBarHeight
);
_toolBar
.
frame
=
CGRectMake
(
0
,
self
.
view
.
tz_height
-
toolBarHeight
,
self
.
view
.
tz_width
,
toolBarHeight
);
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
44
-
12
,
0
,
44
,
44
);
[
_doneButton
sizeToFit
];
_doneButton
.
frame
=
CGRectMake
(
self
.
view
.
tz_width
-
_doneButton
.
tz_width
-
12
,
0
,
_doneButton
.
tz_width
,
44
);
_playButton
.
frame
=
CGRectMake
(
0
,
statusBarAndNaviBarHeight
,
self
.
view
.
tz_width
,
self
.
view
.
tz_height
-
statusBarAndNaviBarHeight
-
toolBarHeight
);
_playButton
.
frame
=
CGRectMake
(
0
,
statusBarAndNaviBarHeight
,
self
.
view
.
tz_width
,
self
.
view
.
tz_height
-
statusBarAndNaviBarHeight
-
toolBarHeight
);
if
(
tzImagePickerVc
.
allowEditVideo
)
{
if
(
tzImagePickerVc
.
allowEditVideo
)
{
_editButton
.
frame
=
CGRectMake
(
12
,
0
,
44
,
44
);
_editButton
.
frame
=
CGRectMake
(
12
,
0
,
44
,
44
);
...
...
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