Re: iOS 16! It will not do landscape!

2022-09-16 Thread HENRY LOWE via use-livecode
I have an iOS app that supports both portrait and landscape mode on the iPhone. 
 It continues to work as expected in iOS 16. I don’t use LC’s built-in commands 
but instead use proprietary code to handle screen redraws.

Henry

> On Sep 16, 2022, at 4:27 PM, Brian Milby via use-livecode 
>  wrote:
> 
> It is not an orientation lock issue.  I’ve submitted a bug report but didn’t 
> have iOS 16 loaded yet and have not had a chance to build some test apps to 
> narrow down the details of the issue.  Apple did make changes in iOS 16 with 
> how apps request a specific orientation.
> 
> Brian Milby
> br...@milby7.com
> 
>> On Sep 16, 2022, at 11:11 AM, harrison--- via use-livecode 
>>  wrote:
>> 
>> Perhaps the screen lock is turned on so it only shows stuff in portrait 
>> mode?
>> 
>>> On Sep 16, 2022, at 10:45 AM, Mike Kerner via use-livecode 
>>>  wrote:
>>> 
>>> weird. we've got 16.1 on our ipads. the LC app we're running on them is
>>> working fine in landscape.
>>> 
 On Thu, Sep 15, 2022 at 9:31 PM Sannyasin Brahmanathaswami via use-livecode
  wrote:
 
 Aloha Everyone
 
 Well I was involved in iOS 16. Just yesterday.
 
 It downloaded to my phone (iPhone 13, with Version 16.0 – 20A362) . When I
 did that, none of stacks of my stacks will do landscape!
 
 stack “wordpuzzle”
 
 on preOpenStack
 
 if isMobile() then
 
 mobileSetAllowedOrientations "landscape left,landscape
 right"
 
 mobileSetFullScreenRectForOrientations "landscape
 left,landscape right","0,0,736,414"
 
   set the fullscreenmode of this stack to "showAll" --
 better for wider screens
 
 end if
 
 hide grc "blankScreen"
 
  setCardCoords "landscape"
 
 end preOpenStack
 
 stack “view_BrowserLandscape”
 
 
 
 on preopenstack
 
 local tBrowser, tOrientations
 
 set the fullscreenmode of this stack to empty
 
 put the short name this stack into tBrowser
 
 put (tBrowser contains "landscape") into sLandscapeOnly
 
 put "landscape left,landscape right" into tOrientations
 
 if sLandscapeOnly then
 
 put "landscape" into sOrientation
 
 else
 
 put "portrait,portrait upside down," before tOrientations
 
 put "portrait" into sOrientation
 
 end if
 
 setCardCoords sOrientation
 
 if isMobile() then
 
  mobileSetAllowedOrientations tOrientations
 
 end if
 
 resetUI
 
 hide grc "blankImage"
 
 send "showBrowser" to me in 10 seconds
 
 end preopenstack
 
 Where is the newest download.
 
 https://downloads.livecode.com/livecode/
 
 LiveCode 9.6.9 RC 1, 10 August 2022
 
 RC 1
 Release Notes<
 https://livecodestatic.com/downloads/livecode/9_6_9/LiveCodeNotes-9_6_9_rc_1.pdf
> 
 10 August 2
 
 
 Brahmanathaswami
 
 
 
 
 And it not there!
 
 
 Did see SivaSiva 1.7.2? It on the iPhone – App Store.
 
 Svasti Astu – Be Well
 Brahmanathaswami
 
 Get SivaSiva.app – It free!
 https://www.himalayanacademy.com/view/sivasiva
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> -- 
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>> and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:

Re: iOS 16! It will not do landscape!

2022-09-16 Thread Brian Milby via use-livecode
It is not an orientation lock issue.  I’ve submitted a bug report but didn’t 
have iOS 16 loaded yet and have not had a chance to build some test apps to 
narrow down the details of the issue.  Apple did make changes in iOS 16 with 
how apps request a specific orientation.

Brian Milby
br...@milby7.com

> On Sep 16, 2022, at 11:11 AM, harrison--- via use-livecode 
>  wrote:
> 
> Perhaps the screen lock is turned on so it only shows stuff in portrait mode?
> 
>> On Sep 16, 2022, at 10:45 AM, Mike Kerner via use-livecode 
>>  wrote:
>> 
>> weird. we've got 16.1 on our ipads. the LC app we're running on them is
>> working fine in landscape.
>> 
>>> On Thu, Sep 15, 2022 at 9:31 PM Sannyasin Brahmanathaswami via use-livecode
>>>  wrote:
>>> 
>>> Aloha Everyone
>>> 
>>> Well I was involved in iOS 16. Just yesterday.
>>> 
>>> It downloaded to my phone (iPhone 13, with Version 16.0 – 20A362) . When I
>>> did that, none of stacks of my stacks will do landscape!
>>> 
>>> stack “wordpuzzle”
>>> 
>>> on preOpenStack
>>> 
>>>  if isMobile() then
>>> 
>>>  mobileSetAllowedOrientations "landscape left,landscape
>>> right"
>>> 
>>>  mobileSetFullScreenRectForOrientations "landscape
>>> left,landscape right","0,0,736,414"
>>> 
>>>set the fullscreenmode of this stack to "showAll" --
>>> better for wider screens
>>> 
>>>  end if
>>> 
>>>  hide grc "blankScreen"
>>> 
>>>   setCardCoords "landscape"
>>> 
>>> end preOpenStack
>>> 
>>> stack “view_BrowserLandscape”
>>> 
>>> 
>>> 
>>> on preopenstack
>>> 
>>>  local tBrowser, tOrientations
>>> 
>>>  set the fullscreenmode of this stack to empty
>>> 
>>>  put the short name this stack into tBrowser
>>> 
>>>  put (tBrowser contains "landscape") into sLandscapeOnly
>>> 
>>>  put "landscape left,landscape right" into tOrientations
>>> 
>>>  if sLandscapeOnly then
>>> 
>>>  put "landscape" into sOrientation
>>> 
>>>  else
>>> 
>>>  put "portrait,portrait upside down," before tOrientations
>>> 
>>>  put "portrait" into sOrientation
>>> 
>>>  end if
>>> 
>>>  setCardCoords sOrientation
>>> 
>>>  if isMobile() then
>>> 
>>>   mobileSetAllowedOrientations tOrientations
>>> 
>>>  end if
>>> 
>>>  resetUI
>>> 
>>>  hide grc "blankImage"
>>> 
>>>  send "showBrowser" to me in 10 seconds
>>> 
>>> end preopenstack
>>> 
>>> Where is the newest download.
>>> 
>>> https://downloads.livecode.com/livecode/
>>> 
>>> LiveCode 9.6.9 RC 1, 10 August 2022
>>> 
>>> RC 1
>>> Release Notes<
>>> https://livecodestatic.com/downloads/livecode/9_6_9/LiveCodeNotes-9_6_9_rc_1.pdf
 
>>> 10 August 2
>>> 
>>> 
>>> Brahmanathaswami
>>> 
>>> 
>>> 
>>> 
>>> And it not there!
>>> 
>>> 
>>> Did see SivaSiva 1.7.2? It on the iPhone – App Store.
>>> 
>>> Svasti Astu – Be Well
>>> Brahmanathaswami
>>> 
>>> Get SivaSiva.app – It free!
>>> https://www.himalayanacademy.com/view/sivasiva
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> -- 
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>  and did a little diving.
>> And God said, "This is good."
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS 16! It will not do landscape!

2022-09-16 Thread harrison--- via use-livecode
Perhaps the screen lock is turned on so it only shows stuff in portrait mode?

> On Sep 16, 2022, at 10:45 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> weird. we've got 16.1 on our ipads. the LC app we're running on them is
> working fine in landscape.
> 
> On Thu, Sep 15, 2022 at 9:31 PM Sannyasin Brahmanathaswami via use-livecode
>  wrote:
> 
>> Aloha Everyone
>> 
>> Well I was involved in iOS 16. Just yesterday.
>> 
>> It downloaded to my phone (iPhone 13, with Version 16.0 – 20A362) . When I
>> did that, none of stacks of my stacks will do landscape!
>> 
>> stack “wordpuzzle”
>> 
>> on preOpenStack
>> 
>>   if isMobile() then
>> 
>>   mobileSetAllowedOrientations "landscape left,landscape
>> right"
>> 
>>   mobileSetFullScreenRectForOrientations "landscape
>> left,landscape right","0,0,736,414"
>> 
>> set the fullscreenmode of this stack to "showAll" --
>> better for wider screens
>> 
>>   end if
>> 
>>   hide grc "blankScreen"
>> 
>>setCardCoords "landscape"
>> 
>> end preOpenStack
>> 
>> stack “view_BrowserLandscape”
>> 
>> 
>> 
>> on preopenstack
>> 
>>   local tBrowser, tOrientations
>> 
>>   set the fullscreenmode of this stack to empty
>> 
>>   put the short name this stack into tBrowser
>> 
>>   put (tBrowser contains "landscape") into sLandscapeOnly
>> 
>>   put "landscape left,landscape right" into tOrientations
>> 
>>   if sLandscapeOnly then
>> 
>>   put "landscape" into sOrientation
>> 
>>   else
>> 
>>   put "portrait,portrait upside down," before tOrientations
>> 
>>   put "portrait" into sOrientation
>> 
>>   end if
>> 
>>   setCardCoords sOrientation
>> 
>>   if isMobile() then
>> 
>>mobileSetAllowedOrientations tOrientations
>> 
>>   end if
>> 
>>   resetUI
>> 
>>   hide grc "blankImage"
>> 
>>   send "showBrowser" to me in 10 seconds
>> 
>> end preopenstack
>> 
>> Where is the newest download.
>> 
>> https://downloads.livecode.com/livecode/
>> 
>> LiveCode 9.6.9 RC 1, 10 August 2022
>> 
>> RC 1
>> Release Notes<
>> https://livecodestatic.com/downloads/livecode/9_6_9/LiveCodeNotes-9_6_9_rc_1.pdf
>>> 
>> 10 August 2
>> 
>> 
>> Brahmanathaswami
>> 
>> 
>> 
>> 
>> And it not there!
>> 
>> 
>> Did see SivaSiva 1.7.2? It on the iPhone – App Store.
>> 
>> Svasti Astu – Be Well
>> Brahmanathaswami
>> 
>> Get SivaSiva.app – It free!
>> https://www.himalayanacademy.com/view/sivasiva
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS 16! It will not do landscape!

2022-09-16 Thread Brian Milby via use-livecode
Does your app use a launcher model?  SivaSiva has one stack that is the 
launcher which opens the portal stack (main menu) when then goes to modules.  
Portrait is set on the launcher and each module has different orientation 
requirements/settings.

Brian Milby
br...@milby7.com

> On Sep 16, 2022, at 10:47 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> weird. we've got 16.1 on our ipads. the LC app we're running on them is
> working fine in landscape.
> 
>> On Thu, Sep 15, 2022 at 9:31 PM Sannyasin Brahmanathaswami via use-livecode
>>  wrote:
>> 
>> Aloha Everyone
>> 
>> Well I was involved in iOS 16. Just yesterday.
>> 
>> It downloaded to my phone (iPhone 13, with Version 16.0 – 20A362) . When I
>> did that, none of stacks of my stacks will do landscape!
>> 
>> stack “wordpuzzle”
>> 
>> on preOpenStack
>> 
>>   if isMobile() then
>> 
>>   mobileSetAllowedOrientations "landscape left,landscape
>> right"
>> 
>>   mobileSetFullScreenRectForOrientations "landscape
>> left,landscape right","0,0,736,414"
>> 
>> set the fullscreenmode of this stack to "showAll" --
>> better for wider screens
>> 
>>   end if
>> 
>>   hide grc "blankScreen"
>> 
>>setCardCoords "landscape"
>> 
>> end preOpenStack
>> 
>> stack “view_BrowserLandscape”
>> 
>> 
>> 
>> on preopenstack
>> 
>>   local tBrowser, tOrientations
>> 
>>   set the fullscreenmode of this stack to empty
>> 
>>   put the short name this stack into tBrowser
>> 
>>   put (tBrowser contains "landscape") into sLandscapeOnly
>> 
>>   put "landscape left,landscape right" into tOrientations
>> 
>>   if sLandscapeOnly then
>> 
>>   put "landscape" into sOrientation
>> 
>>   else
>> 
>>   put "portrait,portrait upside down," before tOrientations
>> 
>>   put "portrait" into sOrientation
>> 
>>   end if
>> 
>>   setCardCoords sOrientation
>> 
>>   if isMobile() then
>> 
>>mobileSetAllowedOrientations tOrientations
>> 
>>   end if
>> 
>>   resetUI
>> 
>>   hide grc "blankImage"
>> 
>>   send "showBrowser" to me in 10 seconds
>> 
>> end preopenstack
>> 
>> Where is the newest download.
>> 
>> https://downloads.livecode.com/livecode/
>> 
>> LiveCode 9.6.9 RC 1, 10 August 2022
>> 
>> RC 1
>> Release Notes<
>> https://livecodestatic.com/downloads/livecode/9_6_9/LiveCodeNotes-9_6_9_rc_1.pdf
>>> 
>> 10 August 2
>> 
>> 
>> Brahmanathaswami
>> 
>> 
>> 
>> 
>> And it not there!
>> 
>> 
>> Did see SivaSiva 1.7.2? It on the iPhone – App Store.
>> 
>> Svasti Astu – Be Well
>> Brahmanathaswami
>> 
>> Get SivaSiva.app – It free!
>> https://www.himalayanacademy.com/view/sivasiva
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS 16! It will not do landscape!

2022-09-16 Thread Mike Kerner via use-livecode
weird. we've got 16.1 on our ipads. the LC app we're running on them is
working fine in landscape.

On Thu, Sep 15, 2022 at 9:31 PM Sannyasin Brahmanathaswami via use-livecode
 wrote:

> Aloha Everyone
>
> Well I was involved in iOS 16. Just yesterday.
>
> It downloaded to my phone (iPhone 13, with Version 16.0 – 20A362) . When I
> did that, none of stacks of my stacks will do landscape!
>
> stack “wordpuzzle”
>
> on preOpenStack
>
>if isMobile() then
>
>mobileSetAllowedOrientations "landscape left,landscape
> right"
>
>mobileSetFullScreenRectForOrientations "landscape
> left,landscape right","0,0,736,414"
>
>  set the fullscreenmode of this stack to "showAll" --
> better for wider screens
>
>end if
>
>hide grc "blankScreen"
>
> setCardCoords "landscape"
>
> end preOpenStack
>
> stack “view_BrowserLandscape”
>
>
>
> on preopenstack
>
>local tBrowser, tOrientations
>
>set the fullscreenmode of this stack to empty
>
>put the short name this stack into tBrowser
>
>put (tBrowser contains "landscape") into sLandscapeOnly
>
>put "landscape left,landscape right" into tOrientations
>
>if sLandscapeOnly then
>
>put "landscape" into sOrientation
>
>else
>
>put "portrait,portrait upside down," before tOrientations
>
>put "portrait" into sOrientation
>
>end if
>
>setCardCoords sOrientation
>
>if isMobile() then
>
> mobileSetAllowedOrientations tOrientations
>
>end if
>
>resetUI
>
>hide grc "blankImage"
>
>send "showBrowser" to me in 10 seconds
>
> end preopenstack
>
> Where is the newest download.
>
> https://downloads.livecode.com/livecode/
>
> LiveCode 9.6.9 RC 1, 10 August 2022
>
> RC 1
> Release Notes<
> https://livecodestatic.com/downloads/livecode/9_6_9/LiveCodeNotes-9_6_9_rc_1.pdf
> >
> 10 August 2
>
>
> Brahmanathaswami
>
>
>
>
> And it not there!
>
>
> Did see SivaSiva 1.7.2? It on the iPhone – App Store.
>
> Svasti Astu – Be Well
> Brahmanathaswami
>
> Get SivaSiva.app – It free!
> https://www.himalayanacademy.com/view/sivasiva
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iOS 16! It will not do landscape!

2022-09-15 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Everyone

Well I was involved in iOS 16. Just yesterday.

It downloaded to my phone (iPhone 13, with Version 16.0 – 20A362) . When I did 
that, none of stacks of my stacks will do landscape!

stack “wordpuzzle”

on preOpenStack

   if isMobile() then

   mobileSetAllowedOrientations "landscape left,landscape right"

   mobileSetFullScreenRectForOrientations "landscape left,landscape 
right","0,0,736,414"

 set the fullscreenmode of this stack to "showAll" -- better 
for wider screens

   end if

   hide grc "blankScreen"

setCardCoords "landscape"

end preOpenStack

stack “view_BrowserLandscape”



on preopenstack

   local tBrowser, tOrientations

   set the fullscreenmode of this stack to empty

   put the short name this stack into tBrowser

   put (tBrowser contains "landscape") into sLandscapeOnly

   put "landscape left,landscape right" into tOrientations

   if sLandscapeOnly then

   put "landscape" into sOrientation

   else

   put "portrait,portrait upside down," before tOrientations

   put "portrait" into sOrientation

   end if

   setCardCoords sOrientation

   if isMobile() then

mobileSetAllowedOrientations tOrientations

   end if

   resetUI

   hide grc "blankImage"

   send "showBrowser" to me in 10 seconds

end preopenstack

Where is the newest download.

https://downloads.livecode.com/livecode/

LiveCode 9.6.9 RC 1, 10 August 2022

RC 1
Release 
Notes
10 August 2


Brahmanathaswami




And it not there!


Did see SivaSiva 1.7.2? It on the iPhone – App Store.

Svasti Astu – Be Well
Brahmanathaswami

Get SivaSiva.app – It free!
https://www.himalayanacademy.com/view/sivasiva




















___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode