Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Incomplete
-
1.4.0
-
None
-
Tested on ios 9
Description
0
down vote
favorite
I made my very first iOS app, but I'm having a problem with the keyboard. There is no way you can hide the keyboard. The accessorybar (with close/previous/next arrow) is not visible.
And another problem is that it does not close automatically after login. So the user ends up with a keyboard all over his screen. It only closes when you navigate inside the site.
the code is quite easy though, the app opens up the InAppBrowser and loads up a site where you need to login.
When clicked on login textfield: http://i.stack.imgur.com/kydAC.jpg
After login, keyboard stays open: http://i.stack.imgur.com/9JgEy.png
Code sample:
import
from '@angular/core';
import
from 'ionic-angular';
import
from 'ionic-native';
import
from './pages/hello-ionic/hello-ionic';
import
from './pages/list/list';
import
from './pages/info/info';
import
from 'ionic-native';
import
from 'ionic-native';
import
from 'ionic-native';
@Component({
templateUrl: 'build/app.html'
})
class MyApp {
@ViewChild(Nav) nav: Nav;
// make HelloIonicPage the root (or first) page
rootPage: any = HelloIonicPage;
pages: Array<
>;
inAppBrowserRef;
constructor(
private platform: Platform,
private menu: MenuController
) {
document.addEventListener('resume', () =>
);
this.initializeApp();
// set our app's pages
this.pages = [
,
,
];
}
initializeApp() {
this.platform.ready().then(() =>
);
}
openInAppBrowser()
{ //Directly load website this.inAppBrowserRef = InAppBrowser.open("http://ws001.domeassistance.be:50001/", "_blank", "location=no,fullscreen=yes,toolbar=no,clearcache=yes,clearsessioncache=yes"); }}
ionicBootstrap(MyApp);
Another mystery: when debugging with Phonegap on iOS I DO get the accessorybar, but not when i've build it into a real App?
URL to test yourself:
https://itunes.apple.com/us/app/dome-assistance-app/id1135786020?mt=8