facebook

iPhone / iPad detection

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #324345 Reply

    dan.phifer
    Member

    Are there any best practices when it comes to handling which platform (iPhone or iPad) is being used? I would like to have different layouts for each device type, and I’m not sure how to do that without creating two apps that need to be purchases separately through the app store. If I combine them into one and just redirect based on the device, everything gets loaded into the same DOM, and the code becomes a bit clumsy. For example, if I have a label called “lblScore”, as far as I can tell, I will now need to have “lblScore_iPhone” and “lblScore_iPad”. Is there a better way? Has anyone else tried to doing anything other than making one layout stretch/shrink depending on the device with mobione?

Viewing 1 post (of 1 total)
Reply To: iPhone / iPad detection

You must be logged in to post in the forum log in