Skip to content

Commit

Permalink
add API to show statusBar when popBack
Browse files Browse the repository at this point in the history
  • Loading branch information
LuKane committed Jan 10, 2023
1 parent 87f45bf commit d69de00
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,21 @@
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "B878C48F-DDB8-4FE0-B46A-493F46B62817"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "KNPhotoBrowser/KNPhotoBrowser/KNPhotoBrowser.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "450"
endingLineNumber = "450"
landmarkName = "-panDidGesture:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ - (void)imageViewDidClick:(UITapGestureRecognizer *)tap {

- (void)photoBrowser:(KNPhotoBrowser *)photoBrowser imageSingleTapWithIndex:(NSInteger)index {

[photoBrowser showStatusBar];
[photoBrowser showStatusBarOniOS13];
[photoBrowser showStatusBarWhenPop];

// if you really want set a button to popback, you need create custom view , see "CustomViewController"
[photoBrowser.navigationController popViewControllerAnimated:true];
Expand Down

0 comments on commit d69de00

Please sign in to comment.