Hi Sean - thanks for the tweets - just realised it was you.

The apple dev link was very handy; the app now has a startup icon (I had 
been wondering if that was customisable). However, one thing I've just 
noticed is that when you declare apple-mobile-web-app-capable and load a 
web app from a home startup icon (ah ha, that's what I was missing first 
time round), it seems as if the iPhone isn't declaring itself as a 
mobile safari client because the Ruby on Rails application doesn't 
detect it and, therefore, it doesn't apply the iPhone rendering 
conditions. Instead it just treats the iphone as a normal web browser. 
Is there anything I can do about that, or is that the key to how the 
"apple-mobile-web-app-capable" works? If it's any help, this is how 
we're detecting the iphone;

http://pastie.org/607789

Secondly, after including the whole iui.js, it appears as though many of 
our application's custom js methods are breaking - I'm no javascript 
expert and the co-founder (the js expert) is away until next week. Would 
it be easy enough for me to simply extract the scrollTo method or are 
there a few other methods wrapped up with inheritance?

Cheers

Neil





Sean Gilligan wrote:
> Neil Cauldwell wrote:
>   
>> <meta name="apple-mobile-web-app-capable" content="yes" />
>>
>> I tried including it in the head of the doc and loading an existing 'web 
>> app' from the home page, but it doesn't hide all chrome (I was expecting the 
>> bottom chrome to be hidden too) - does the 'bookmark' need to be made after 
>> the meta tag is included in the head of the document?
>>   
>>     
>
> Yes.  I recommend reading some docs on Apple's site, such as:
> http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
>
>   
>> This is how the <head> looks at the moment http://pastie.org/607518 (don't 
>> worry about the ERB tags - the app is running on Rails, but those styles and 
>> js includes are working), I'm wondering if I've done something wrong with 
>> the 'apple-mobile-web-app-capable' include
>>   
>>     
>
> Looks good to me.  I don't think apple-touch-fullscreen is good for 
> anything anymore.  (iUI examples in 0.30 still  use it, but they won't 
> in 0.40)
>
> -- Sean
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to