iOS 16! It will not do landscape!

HENRY LOWE hlowe at me.com
Fri Sep 16 16:54:23 EDT 2022


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 <use-livecode at lists.runrev.com> 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
> brian at milby7.com
> 
>> On Sep 16, 2022, at 11:11 AM, harrison--- via use-livecode <use-livecode at lists.runrev.com> 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 <use-livecode at lists.runrev.com> 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
>>>> <use-livecode at lists.runrev.com> 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 at 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 at 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 at 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 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