Skip to content

Commit

Permalink
Example of closing webview on navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
sp0x committed Sep 10, 2020
1 parent 2ef4bbb commit 630d537
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ The implementation of the example controller looks like follows:
- (BOOL)notifyNavigation:(NSURL *)url {
if([[url absoluteString] isEqualToString: @"https://example.com/"]){
//Put your additional actions here..
//[self.engine close];
return YES;
}
return NO;
Expand Down

0 comments on commit 630d537

Please sign in to comment.