HomeAppleios - Find out how to change shade behind backside sheet with...

ios – Find out how to change shade behind backside sheet with SwiftUI?


My app’s foreground shade is that this shade of blue and I must show a backside sheet sooner or later, however when the underside sheet goes up, by default, the view behind it shrinks somewhat and the foreground shade of the app seems behind it, as proven within the following picture:

actual behavior

The anticipated habits was that the shrinking continues to occur however the shade behind it to be black.

intended behavior

Wanting it into the Debug Name Hierarchy view it’s attainable to see that this blue shade comes from the deepest factor of the view stack that seems as UIWindowScene (Foreground Lively).

My query is that if there’s any method of displaying this black behind the shrunk view with out altering the foreground shade of the app as an entire.

Price noting that I am utilizing SwiftUI on it.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments