You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/21 07:39:39 UTC
[GitHub] yangnana11 commented on issue #327: Hide both location and toolbar
on ios
yangnana11 commented on issue #327: Hide both location and toolbar on ios
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/327#issuecomment-440566568
On Android, you just need to set location=no
For Ios:
Remove the ios platform first
```
cordova platform rm ios
```
Go to the plugin folder, modify the cordova-plugin-inappbrower\ios\CDVInAppBrowser.m and set the location and toolbar height to zero
```
#define TOOLBAR_HEIGHT 0.0
#define STATUSBAR_HEIGHT 20.0
#define LOCATIONBAR_HEIGHT 0.0
```
Add the ios platform again, build and run it
```
cordova platform add ios
cordova build ios
cordova run ios
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org