Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Back button going to wrong page on iOS

I have a strange problem which has recently show up in a few apps. The apps have a 'News' page, which is accessed from the homepage. There are also other pages which are accessed from a menu panel.

The problem is this: if you visit a page on the menu panel and then press the back button, you are taken to the News page, instead of back to the homepage.

This only happens on iOS and only if you have previously visited the news page.

What is more, this used to work fine.

Can you please help? I have 4 apps published which are displaying this problem.

Thanks,

Chris

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Back button going to wrong page on iOS

One of the apps is called Codsall High (Project: e4c3e291-464b-4638-9f00-5fa66e683cf4) and it is shared with support.

Many thanks for your help with this.

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Back button going to wrong page on iOS

I should add that this problem only appears in iOS builds - not in the online test, the ios Appery tester or Android builds.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Back button going to wrong page on iOS

Hello Chris,

You can redefine backbutton with your custom logic, e.g. set action "navigateTo"

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Back button going to wrong page on iOS

Hi Sergiy,

I unticked the back button option and replaced it with a basic button to which I applied this javascript:

$.mobile.changePage("home.html", {
allowSamePageTransition: true,
transition: "",
reverse: "true",
reloadPage: false
});

Thanks for the reply.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Back button going to wrong page on iOS

Please let me know if I can be of further assistance.

Return to “Issues”