Best way to set my work so it is looking good on an ipad


#1

Hi. I’ve created an iPhone app for a client with Hype. Now the client wants us to make it available for the iPad. The iPhone app was created with a resolution of 320 x 568. Everytime I look at it on an iPad it looks squashed. Is there a way or a strategy to make sure we have a good rendering on all the devices?


(Jonathan Deutsch) #2

Are you currently doing anything to scale the app? (by default if you did nothing it may just appear small and not squashed).

Hype has two built-in systems for fitting to different devices:

  • Responsive Layouts - have entirely different content that is shown based on “breakpoints” of width
  • Flexible Layout - Adjust element positions and sizes based on the browser (or container) width and height.

The flexible layout system can scale elements, and there are options to scale elements so they can maintain their proportions:

32 AM


#3

HI Jonathan.

This is the way it is right now. When I look at it on the iPad it is squashed


#4

Here is how it looks on the iPad


(Jonathan Deutsch) #5

Great - you’re already using the Flexible Layout! In this case, if you change the scale behavior to “Shrink to Fit” you’ll get the desired result.

(P.S. What version of macOS are you running? The “scale behavior” label looks like there’s a layout bug since should be on one line!)