How is the window title set? #48

Open
asgeo1 opened this Issue May 30, 2012 · 2 comments

Projects

None yet

2 participants

asgeo1 commented May 30, 2012

I'm using macgap to wrap a jQuery mobile app.

When I browse to different pages, the window title is set to the title of the html page.

How is that done in macgap? I'm looking through the code, and I can't see it anywhere.

I would basically like to turn that functionality off, because it keeps overwriting my custom window title.

ckizer commented Apr 19, 2013

Set the html <title> tag with javascript…

ckizer commented Apr 19, 2013
<script>
document.title = 'blah';
</script>

Or you can change it forever by going into Xcode, and changing the default window title
Screen Shot 2013-04-19 at 2 57 48 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment