Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 12    Views: 93

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
09/17/12 01:31 PM (13 years ago)

Format webpages for iphone

Hi guys, I have noticed that apple have given the reason for app rejection several times for - links to websites not formatted for the iphone - Does anyone know how to format webpages as required please? Many thanks.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
09/17/12 05:35 PM (13 years ago)
Hey buddy, me again! Will connect through week and see if we can't throw a website / server install up for you. Anyway. Are you talking about coding a full sure from scratch or just HTML pages that are optimized for mobile Safari?
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
09/17/12 06:03 PM (13 years ago)
HTML that is optimised for safari mate :)
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
09/17/12 06:12 PM (13 years ago)
Try sticking this in your head of document. Will double check but think this is it - not on Dreaweaver right now - <meta name = "viewport" content = "width = device-width">
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
09/17/12 06:18 PM (13 years ago)
This is what Buzztouch uses for their HTML screens. I've used this with much success in the past. <title></title> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <meta content="width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;" name="viewport" /> <style type="text/css"> html{background-color:transparent;height:100%;width:100%;} body{background-color:transparent;font-size:11pt;font-family:helvetica;} img{border:0px;} </style> HTML or Plain Text goes here... Do not cut-n-paste from Word Processor Software (such as MS Word), it almost never works like you would expect. If you want to cut-n-paste HTML you created offline, use an HTML editor (such as Dreamweaver) that creates valid HTML.</p> <p style="color:red;"> Be sure to use the "Source" button in the editor to enter / paste raw HTML.</p> Regards, Andy
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
09/17/12 06:19 PM (13 years ago)
Good man Andy. Meant to ping you today, can you send me a link for the sweet tab menu? Dying to use it.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
09/17/12 06:22 PM (13 years ago)
I'm not sure that is what I meant?!!! Have a look at this app. The way they customise the rss feed to a lesser extent but more so the way the 'view story' is customised not just to look like a webpage but to look like its part of the app. There are better example of what I mean but this is the one I found. Cheers!
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
09/17/12 06:23 PM (13 years ago)
Post the app my good man!
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
09/17/12 06:25 PM (13 years ago)
All the thanks to JC Evans (GoBigBlue). Here's the post: http://www.buzztouch.com/forum/thread.php?tid=94D9AA6F84290713C99B633&command=isSearching&currentPage=1&topicTitle=tab&createdBy=blue&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory= Here's the PDF: http://jc-evans.com/tutorials/Tab_Bar_With_Custom_Center_Tab.pdf It's awesome and really makes the app look sophisticated! Great meeting you in Indy! Let me know if there's ever anyway we can collaborate on a project. Andy
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
09/17/12 06:25 PM (13 years ago)
I'm not sure that is what I meant?!!! Have a look at this app. The way they customise the rss feed to a lesser extent but more so the way the 'view story' is customised not just to look like a webpage but to look like its part of the app. There are better example of what I mean but this is the one I found. Cheers!
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
09/17/12 06:26 PM (13 years ago)
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
09/17/12 06:33 PM (13 years ago)
9:24 pm on. Monday, that's why the double post. Alex - will check it out and post back tomorrow, cool? Cool. @Andy Good times and thanks for the link. I hear you, loved hearing your plans, great stuff. Best Saturday I've had in a while. Can't wait to implement the above.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
09/17/12 06:35 PM (13 years ago)
Cool. :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.