# \[IOS problem\] - Navbar button doesn't redirect

**URL:** <https://forum.ionicframework.com/t/ios-problem-navbar-button-doesnt-redirect/57882>\
**Category:** ionic-v3\
**Created:** [July 18, 2016, 6:44pm UTC](https://forum.ionicframework.com/t/ios-problem-navbar-button-doesnt-redirect/57882 "2016-07-18T18:44:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guilx15](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/guilx15/32/122636_2.png) [@guilx15](https://forum.ionicframework.com/u/guilx15)\
**Post date:** [July 18, 2016, 6:44pm UTC](https://forum.ionicframework.com/t/ios-problem-navbar-button-doesnt-redirect/57882/1 "2016-07-18T18:44:30Z")

</div>

Hi guys, I need some help with my Ionic 2 App.

I have a navbar with a ion-button on the right side. It appears when a item is added to the cart.

Then if you click you are redirected to another page. It works perfectly on Android and Browser, but it doesn’t on IOS.

This is my app and the cart button

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/3/4/34256b1aaaecb6285c9a33d1f14736d46182eaa4.png)

From the console I know it is loading the onPageLoaded method and logging something, but it doesn’t show my page.

This is my navbar  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/b/c/bcdb36bbc99081fd2738f4f7965620daa8e45acf.png)

Does anyone know how to fix it?

---

<div class="post-metadata">

**Author:** ![itlr](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/itlr/32/97646_2.png) [@itlr](https://forum.ionicframework.com/u/itlr)\
**Post date:** [July 18, 2016, 10:43pm UTC](https://forum.ionicframework.com/t/ios-problem-navbar-button-doesnt-redirect/57882/2 "2016-07-18T22:43:10Z")

</div>

Are you on beta.10? If not you might want to upgrade first, it will involve wrapping ion-navbar inside ion-header and removing \*navabar.

After that, you might want to post the definition of `openPage()` method too, the way you wrote it reminds me that you might be thinking that its argument is suppose to be a page, it’s not, it’s the click event. So

`(click)=openPage(event)` makes more semantic sense.

---

<div class="post-metadata">

**Author:** ![guilx15](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/guilx15/32/122636_2.png) [@guilx15](https://forum.ionicframework.com/u/guilx15)\
**Post date:** [July 19, 2016, 12:37am UTC](https://forum.ionicframework.com/t/ios-problem-navbar-button-doesnt-redirect/57882/3 "2016-07-19T00:37:59Z")

</div>

I’ve updated to Ionic 10, and changed all my headers.

Now a it shows a bug.

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/0/9/096c8f0955654bbc47a523851ecdf91a7deca8f9.png)

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/1/f/1f4827ed3654ba7f192939b8d98a1860c828627b.png)

OBS: I don’t have any variable called Intl

---

<div class="post-metadata">

**Author:** ![guilx15](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/guilx15/32/122636_2.png) [@guilx15](https://forum.ionicframework.com/u/guilx15)\
**Post date:** [July 19, 2016, 11:47pm UTC](https://forum.ionicframework.com/t/ios-problem-navbar-button-doesnt-redirect/57882/4 "2016-07-19T23:47:36Z")

</div>

I didn’t found any reason for those errors, so I changed from this.nav.push to this.nav.setRoot

But my view doesn’t seem to update.

Then a click on my cart button  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/4/f/4fc57d16227215c99082d7f6581e4325773d808d.png)

It does seem do redirect, but not refresh since I can access my sidenav, but I still have my old view and the back button.  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/0/9/09eee90db6358a04901116a4f875f82686d73158.png)
