Vote for : Screen Edges Deferred is iOS

Brian Milby brian at milby7.com
Tue Dec 11 15:11:17 EST 2018


Subscribed.  Wonder if an LCB library could handle this?

Thanks,
Brian
On Dec 11, 2018, 1:39 PM -0600, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com>, wrote:
> See this hibernated iOS enhancement request.
>
> https://quality.livecode.com/show_bug.cgi?id=21737
>
> I have an "immersive" module in my app, I need to have following implemented. Maybe you would like to vote for it too? All my iOS user complains "Oh, gee, in the puzzle, can how can I keep the notifications from dropping down?"
>
> Well, there is a way if you are developing directly in xCode, but not from within LiveCode.
> Https://developer.apple.com/documentation/uikit/uiviewcontroller/2887512-preferredscreenedgesdeferringsys
> Declaration
>
> var preferredScreenEdgesDeferringSystemGestures: UIRectEdge<https://developer.apple.com/documentation/uikit/uirectedge> { get }
> Discussion
> Normally, the screen-edge gestures defined by the system take precedence over any gesture recognizers that you define. The system uses its gestures to implement system level behaviors, such as to display Control Center.
> Whenever possible, you should allow the system gestures to take precedence. However, immersive apps can use this property to allow app-defined gestures to take precedence over the system gestures. You do that by overriding this property and returning the screen edges for which your gestures should take precedence.
> If you change the edges preferred by your view controller, update the value of this property and call the setNeedsUpdateOfScreenEdgesDeferringSystemGestures()<https://developer.apple.com/documentation/uikit/uiviewcontroller/2887507-setneedsupdateofscreenedgesdefer> method to notify the system that the edges have changed.
>
> BR
>
>
> _______________________________________________
> 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