# Ionic Back button issue in iOS

**URL:** <https://forum.ionicframework.com/t/ionic-back-button-issue-in-ios/16173>\
**Category:** ionic-v1\
**Created:** [January 22, 2015, 9:36am UTC](https://forum.ionicframework.com/t/ionic-back-button-issue-in-ios/16173 "2015-01-22T09:36:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssswagatss](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ssswagatss/32/8645_2.png) [@ssswagatss](https://forum.ionicframework.com/u/ssswagatss)\
**Post date:** [January 22, 2015, 9:36am UTC](https://forum.ionicframework.com/t/ionic-back-button-issue-in-ios/16173/1 "2015-01-22T09:36:17Z")

</div>

I am working on a app that needs to show the Back button on the iOS version.But the problem with this version is that It appears strangely. Sometimes it appears and sometimes it disappears randomly. Can anyone let me know how this one actually works so that I can go ahead and fix the issue.

---

<div class="post-metadata">

**Author:** ![kamleshkoringa](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kamleshkoringa](https://forum.ionicframework.com/u/kamleshkoringa)\
**Post date:** [January 22, 2015, 10:34am UTC](https://forum.ionicframework.com/t/ionic-back-button-issue-in-ios/16173/2 "2015-01-22T10:34:39Z")

</div>

I had same problem after migrating to beta.14. I had issue with use of **nav-clear** and unnecessary use of **menu-close** attributes. You can try to remove nav-clear all place and do no use menu-close if not required. Hope this helps you.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [January 22, 2015, 8:44pm UTC](https://forum.ionicframework.com/t/ionic-back-button-issue-in-ios/16173/3 "2015-01-22T20:44:38Z")

</div>

So the way things are setup to work now is if your link is in the side-menu drawer, it will reset the history each time.

[http://ionicframework.com/docs/api/directive/menuClose/](http://ionicframework.com/docs/api/directive/menuClose/)

But if your link is in the main content, it will work as usual.

> **[Side Menu and Navigation: Nightly](https://codepen.io/mhartington/pen/azwojR)**
>
> Demo showing how to wire up side menus along with navigation within Ionic. Forked from \[Ionic\](http://codepen.io/ionic/)'s Pen \[Ionic Side Menu and Na...

---

<div class="post-metadata">

**Author:** ![ssswagatss](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ssswagatss/32/8645_2.png) [@ssswagatss](https://forum.ionicframework.com/u/ssswagatss)\
**Post date:** [January 23, 2015, 6:25am UTC](https://forum.ionicframework.com/t/ionic-back-button-issue-in-ios/16173/4 "2015-01-23T06:25:26Z")

</div>

Thank you @kamleshkoringa . This fixed my issue…
