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
110ad2fd
Commit
110ad2fd
authored
Mar 04, 2016
by
chenbingiOS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复图片预览时底部工具条不能隐藏的问题
parent
ea2693f2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
TZImagePickerController/TZImagePickerController/TZImagePickerController.m
...troller/TZImagePickerController/TZImagePickerController.m
+2
-1
TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m
...troller/TZImagePickerController/TZPhotoPickerController.m
+1
-0
TZImagePickerController/TZImagePickerController/TZPhotoPreviewController.m
...roller/TZImagePickerController/TZPhotoPreviewController.m
+1
-1
No files found.
TZImagePickerController/TZImagePickerController/TZImagePickerController.m
View file @
110ad2fd
...
...
@@ -156,7 +156,6 @@
[
_HUDIndicatorView
stopAnimating
];
[
_progressHUD
removeFromSuperview
];
}
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}
-
(
void
)
pushViewController
:(
UIViewController
*
)
viewController
animated
:(
BOOL
)
animated
{
...
...
@@ -197,6 +196,8 @@
-
(
void
)
viewWillAppear
:(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
TZImagePickerController
*
imagePickerVc
=
(
TZImagePickerController
*
)
self
.
navigationController
;
[
imagePickerVc
hideProgressHUD
];
if
(
_albumArr
)
return
;
[
self
configTableView
];
}
...
...
TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m
View file @
110ad2fd
...
...
@@ -231,6 +231,7 @@ static CGSize AssetGridThumbnailSize;
imagePickerVc
.
didFinishPickingPhotosWithInfosHandle
(
photos
,
assets
,
infoArr
);
}
[
imagePickerVc
hideProgressHUD
];
[
self
.
navigationController
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}];
}
}
...
...
TZImagePickerController/TZImagePickerController/TZPhotoPreviewController.m
View file @
110ad2fd
...
...
@@ -237,7 +237,7 @@
__block
BOOL
_weakIsHideNaviBar
=
_isHideNaviBar
;
__weak
typeof
(
_naviBar
)
weakNaviBar
=
_naviBar
;
__weak
typeof
(
_
naviBar
)
weakToolBar
=
_navi
Bar
;
__weak
typeof
(
_
toolBar
)
weakToolBar
=
_tool
Bar
;
if
(
!
cell
.
singleTapGestureBlock
)
{
cell
.
singleTapGestureBlock
=
^
(){
// show or hide naviBar / 显示或隐藏导航栏
...
...
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