# Back button in iOS PWA

**URL:** https://meta.discourse.org/t/back-button-in-ios-pwa/93909
**Category:** Support
**Created:** [August 4, 2018, 10:59am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909 "2018-08-04T10:59:38Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Majed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/majed/32/119522_2.png) [@Majed](https://meta.discourse.org/u/Majed)
#### Post date: [August 4, 2018, 10:59am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/1 "2018-08-04T10:59:38Z")

</div>

I have saved discourse on my iPhone as short cut app since discourse is PWA but I found one simple feature is missing. Which is going Back button. I tried to swipe left but not working.

Is there any hidden tip to do this?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 5, 2018, 12:46am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/3 "2018-08-05T00:46:45Z")

</div>

Unfortunately Apple PWA implementation leaves a lot to be desired. So much that some sites are resorting to user agent sniffing to be able to change the `display_mode` in the webmanifest only for iOS users.

I will run some tests on this and try a fix next week.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 16, 2018, 2:39am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/5 "2018-08-16T02:39:15Z")

</div>

This should help:

[https://github.com/discourse/discourse/commit/c8b5e6baae17bbb50a8173b5cd32944df0bad20a](https://github.com/discourse/discourse/commit/c8b5e6baae17bbb50a8173b5cd32944df0bad20a)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 30, 2018, 2:41pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/6 "2018-08-30T14:41:01Z")

</div>

It used to be full screen, but I changed it a few weeks ago because people asked here: [Back button in iOS PWA](https://meta.discourse.org/t/back-button-in-responsive-app/93909)

---

<div class="post-metadata">

### Author: ![rstockm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rstockm/32/66023_2.png) [@rstockm](https://meta.discourse.org/u/rstockm)
#### Post date: [August 30, 2018, 2:59pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/7 "2018-08-30T14:59:22Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/10):
>
> It used to be full screen, but I changed it a few weeks ago because people asked here: [Back button in Responsive app](https://meta.discourse.org/t/back-button-in-responsive-app/93909)

Yes, this is a problem. I just added the tag in one of my forums, and it worked - but the missing back-button is indeed a downer.  
Maybe one could offer an (optional) additional back-button in the menu bar, left from the search and burger-icons?

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/0/10642e3b7d1ab76176b3f901e8a21e27d25e0ed1.jpeg)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 30, 2018, 3:03pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/8 "2018-08-30T15:03:11Z")

</div>

We just gave up on the Apple current PWA implementation and detect iOS devices and remove the full screen aspect. This was inspired by the Starbucks PWA that did the same:

> <https://twitter.com/firt/status/1021477243909033984>

If you want to propose (mockup, code, etc) a back button for the iOS PWA experience, please open a topic about it.

---

<div class="post-metadata">

### Author: ![rstockm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rstockm/32/66023_2.png) [@rstockm](https://meta.discourse.org/u/rstockm)
#### Post date: [August 30, 2018, 3:24pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/9 "2018-08-30T15:24:03Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/12):
>
> We just gave up on the Apple current PWA implementation and detect iOS devices and remove the full screen aspect.

I see. Thanks for clarification.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 30, 2018, 4:21pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/10 "2018-08-30T16:21:02Z")

</div>

Swipe to go back has been a thing in Safari for the longest time. Is it disabled in PWAs or something?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [August 30, 2018, 5:48pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/11 "2018-08-30T17:48:51Z")

</div>

Swipe to go back isn’t accessible or discoverable, especially when the platform standard is to either have a “back” button in the upper-left corner or not at all.

---

<div class="post-metadata">

### Author: ![rstockm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rstockm/32/66023_2.png) [@rstockm](https://meta.discourse.org/u/rstockm)
#### Post date: [August 30, 2018, 10:04pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/12 "2018-08-30T22:04:32Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/17):
>
> Swipe to go back has been a thing in Safari for the longest time

When? Where?I can’t recall a website that supports this…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 30, 2018, 10:05pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/13 "2018-08-30T22:05:47Z")

</div>

It is a built in mobile safari feature, I use it all the time.

---

<div class="post-metadata">

### Author: ![rstockm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rstockm/32/66023_2.png) [@rstockm](https://meta.discourse.org/u/rstockm)
#### Post date: [August 30, 2018, 10:10pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/14 "2018-08-30T22:10:14Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/20):
>
> It is a built in mobile safari feature, I use it all the time.

Heavens. It works! You have to catch the outermost left side - in a “regular” iOS App you may grab anywhere on the screen to swipe.  
Anyway: this seems to be disabled in PWA fullscreen mode:

> **[No back gesture on PWA iOS 11.3 | Apple Developer Forums](https://developer.apple.com/forums/thread/99579)**

dammit.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 30, 2018, 10:37pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/15 "2018-08-30T22:37:27Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/f/1/f1a022bd0093b7d24f14367985b276518751a8d6.jpeg)

---

<div class="post-metadata">

### Author: ![jaihaze](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jaihaze/32/95691_2.png) [@jaihaze](https://meta.discourse.org/u/jaihaze)
#### Post date: [October 18, 2018, 11:45pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/16 "2018-10-18T23:45:52Z")

</div>

ahhh this is the problem. I was trying to find it. Is there anyway to go back to the setting via json or some jquery to override it via customizing the html, no meta tags do it. So im assuming this was gone before its just that the old shortcut was saved prior to then

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 18, 2018, 11:47pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/17 "2018-10-18T23:47:11Z")

</div>

How are users supposed to use the back button when full screen?

---

<div class="post-metadata">

### Author: ![jaihaze](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jaihaze/32/95691_2.png) [@jaihaze](https://meta.discourse.org/u/jaihaze)
#### Post date: [October 18, 2018, 11:49pm UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/18 "2018-10-18T23:49:36Z")

</div>

I had no problem I would just click the old school icon in the upper right. We are talking about the old add to home screen like this right? If so, then I never really cared but there is a way for a bar to pop up isnt there, or use shortcuts like a left swipe? Invision power boards has it on their forums

 ![IMG_BAA12EF96652-1](https://global.discourse-cdn.com/meta/original/3X/b/9/b9282bd375340ca78f6a31b9dfef796e9c504638.jpeg)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 19, 2018, 12:24am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/19 "2018-10-19T00:24:27Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/25):
>
> use shortcuts like a left swipe?

Left swipe to go back is disabled by Apple in this mode:

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/21):
>
> Anyway: this seems to be disabled in PWA fullscreen mode:

We didn’t design Discourse to be used without the browser back-button, so we disabled the feature for now, like Starbucks in the example above.

Android doesn’t have this problem because a back button is permanent in either the OS UI or in the form of a physical back button.

We are always happy to discuss and re-evaluate, but the situation is kinda messy in iOS.

---

<div class="post-metadata">

### Author: ![jaihaze](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jaihaze/32/95691_2.png) [@jaihaze](https://meta.discourse.org/u/jaihaze)
#### Post date: [October 19, 2018, 12:27am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/20 "2018-10-19T00:27:00Z")

</div>

but if it was active before, why not give the option of a checkbox for certain tiers to enable it for their discourse? It worked great before a nd a lot of the people who used it loved it.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 19, 2018, 12:35am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/21 "2018-10-19T00:35:48Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/26):
>
> Android doesn’t have this problem because a back button is permanent in either the OS UI or in the form of a physical back button.

Not [on the latest Android Oreo](https://www.zdnet.com/article/the-end-of-android-buttons-oneplus-provides-gesture-based-ui-in-oreo-beta/) though.. they are looking at getting rid of those required buttons because a fullscreen “all screen” phone like the iPhone X/XS .. is the future 😉

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 19, 2018, 12:53am UTC](https://meta.discourse.org/t/back-button-in-ios-pwa/93909/22 "2018-10-19T00:53:51Z")

</div>

> [@Progressive Web Application (PWA)](https://meta.discourse.org/t/progressive-web-application-pwa/79217/28):
>
> Not [on the latest Android Oreo](https://www.zdnet.com/article/the-end-of-android-buttons-oneplus-provides-gesture-based-ui-in-oreo-beta/) though…

That is a manufacturer specific customization, only in OxygenOS (OnePlus family). It would not be the first time that Android adopts a manufacturer customization, but considering the time a new Android version takes to spread we are talking 3 years to have some adoption.

If they remove I just hope they don’t block it in the place where it’s so needed like Apple did 😜

[Next page](https://meta.discourse.org/t/back-button-in-ios-pwa/93909.md?page=2)
