Encapsulate a website in an Ionic v1 app

0

I'm working with Ionic v1 and I need to encapsulate a web in an Ionic v1 app I have created a blank Ionic v1 project with the following code.

  !DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title></title>

    <link rel="manifest" href="manifest.json">

    <!-- un-comment this code to enable service worker
    <script>
      if ('serviceWorker' in navigator) {
        navigator.serviceWorker.register('service-worker.js')
          .then(() => console.log('service worker installed'))
          .catch(err => console.log('Error', err));
      }
    </script>-->

    <link href="lib/ionic/css/ionic.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
    <link href="css/ionic.app.css" rel="stylesheet">
    -->

    <!-- ionic/angularjs js -->
    <script src="lib/ionic/js/ionic.bundle.js"></script>

    <!-- cordova script (this will be a 404 during development) -->
    <script src="cordova.js"></script>

    <!-- your app's js -->
    <script src="js/app.js"></script>
  </head>
  <body ng-app="starter">

    <ion-pane>
      <ion-header-bar class="bar-stable">
        <!-- <h1 class="title">Ionic Blank Starter</h1> -->
      </ion-header-bar>
      <ion-content>
          <iframe src="https://www.ubikate.net/"></iframe>
      </ion-content>
    </ion-pane>
  </body>
</html>

The problem is that simulating in a mobile device is not entirely blank spaces remain.

How can I solve it?

Greetings!

    
asked by Pedro Ávila 12.07.2018 в 16:00
source

0 answers