Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Backbutton on IOS 9 with drill down data function/direct opening of page

Hi!

My app has become nearly useless with the new relase of IOS9. The Back button in the header of the app is not working anymore:-(

The solution from another member of the forum was this:
https://getsatisfaction.com/apperyio/...

The solution is simple and you use a normal button with javascript click event to jump back to the page. My problem is that I use my app to drill down data from the top and open different pages as you click on data on the page.

The problem is that the app also has a function to go directly let say to the month summary. So the back button sometimes goes back to page A and at other times go back to page B. I guess I could solve this with som code and use some local storage variable as a flag but this seem too me not so elegant.

Any tips?

EDIT:
Could this be the solution/workaround? (And maybe Appery can fix it permanently later?)

Taken from:
http://stackoverflow.com/questions/32...

Step 1:
Open your Apps main form. Click Events to make the Events part of the screen visible.

Step2:
Select the "device Ready" event and then selet the "Run Javascript" action

Step 3:
Enter this in the codewindow and save project.
if(device.platform === "iOS" && parseInt(device.version) === 9){
$.mobile.hashListeningEnabled = false;
}

This worked for me and my Back button is now functioning again also in IOS9 :-)

Ole.

Kind regards

Ole Henrik Oftedal
Timeflex Systemer AS
Norway
http://www.timeflex.com
http://www.timeflex.no

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Backbutton on IOS 9 with drill down data function/direct opening of page

Hello Ole,

Sorry for the radio silence here. Unfortunately we're still investigating issues with iOS 9, since we don't support it yet. We'll post an update if our development team finds the solution.

Return to “Issues”