I have my Discourse forums embedded in an iOS app. I have a custom header but I don’t want it visible when viewing in the app. I only want it visible when viewing in Safari. It is possible to do this?
May I ask you? How did you integrated Discourse in iOS app?
It’s in a UIWebView and I’d like it to display without the header in there.
Does anyone know if there is a way to trigger a different HTML/CSS header through a URL parameter? That would work fine since Discourse doesn’t need to reload the page. The only issue with my solution is that the header is visible for a second before hidden.
Actually the preview URL pretty much does what you are requesting, from
Try testing that out and see if it fits your needs.
Obviously you wouldn’t need to “Enable” it, just preview.
That seems to work perfect! It works fine without enabling.