This is a migrated thread and some comments may be shown as answers.

navigator.app.backHistory()

1 Answer 131 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
emmapabale
Top achievements
Rank 1
emmapabale asked on 05 Jul 2013, 01:36 AM
Is there any alternative for this? I think its not working or I am using it wrong?

I'd like to make a back button for an ios application, and id like my program to detect which page it went last before clicking the current page the user is in.

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 08 Jul 2013, 06:41 AM
Hi emmapabale,

You can try with calling history.go(-1) along with navigator.app.backHistory():
history.go(-1);
navigator.app.backHistory();

If you are using Kendo UI Mobile you can use the BackButton widget. If you are using jQuery mobile you can set data-rel="back" data attribute on your button.


Regards,
Stefan Dobrev
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Tags
AppBuilder Windows client
Asked by
emmapabale
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or