which iPhone...

Randy Hengst iowahengst at mac.com
Mon Nov 10 13:03:16 EST 2014


Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator… this code in StartUp shows correct dimensions… I don't have iOS 8 simulator on this mac.


on startUp
   
   answer (word 1 of the machine)

   iphoneSetAllowedOrientations "landscape left,landscape right" --portrait,portrait upside down,landscape left,landscape right
  
  switch (word 1 of the machine)
      case "iPod"
      case "iPhone"
         set the fullscreenmode of this stack to "exactFit" --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- --"exactfit" --"showAll"
         break
   end switch

   answer the ScreenRect
end startUp 


On Nov 10, 2014, at 11:35 AM, John Dixon <dixonja at hotmail.co.uk> wrote:

> 
> 
>> Subject: Re: which iPhone...
>> From: jacque at hyperactivesw.com
>> Date: Mon, 10 Nov 2014 11:12:32 -0600
>> To: use-livecode at lists.runrev.com
>> 
>> Does it work if you omit "working" and just ask for the screenrect? 
>> 
> Hi Jacque...
> 
> No it doesn't...
> 
> Dixie
> 		 	   		  
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list