1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    34
    Vote Rating
    0
    aratcliffe is on a distinguished road

      0  

    Default Design pattern for supporting iPhone and iPad layouts in the same app

    Design pattern for supporting iPhone and iPad layouts in the same app


    Is anybody able to post code or a link to an example showing how to support both iPhone drill down style layouts and iPad 2 column layouts within the same application, automatically selecting the appropriate layout based upon device detection.

    Cheers
    Adam

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Take a look at the Kitchen Sink demo. If that's not exactly what you want you can look at how they accomplished the UI based on device and even orientation.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Similar Threads

  1. Testing iPhone app wihout iphone (or simulator): Chrome user agent spoofing?
    By charris in forum Sencha Touch 1.x: Discussion
    Replies: 10
    Last Post: 9 Jan 2012, 12:24 PM
  2. converting sencha touch app to ipad app
    By fgeorge in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 4 Oct 2011, 1:09 PM
  3. How to test the iPad app on an iPad
    By jedihua in forum Sencha Touch 1.x: Discussion
    Replies: 10
    Last Post: 17 Dec 2010, 12:46 PM
  4. Best practices for supporting Tablet and Phone layouts simultaneously
    By senchauser2010 in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 7 Dec 2010, 5:31 AM
  5. Testing iPad app without iPad
    By Sesshomurai in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 29 Jun 2010, 5:45 AM

Thread Participants: 1