First install InAppBrowser plugin
$ ionic cordova plugin add cordova-plugin-inappbrowser
$ npm install --save @ionic-native/in-app-browser
After that import to project.
.ts file:
launch(url){
this.platform.ready().then(() => {
cordova.iab.open(url, "_blank", "location=no");
});
}
.html file:
<button (click)="launch('https://ionicframework.com/')" style="width:30%" ion-button color="danger" >TEST Button</button>
And when I run in IOS device, xcode show nothing in log page.