Hey everyone, does anyone know how to disable landscape orientation in a Compose Multiplatform project?
g
Garret Yoder
09/18/2024, 1:58 PM
Someone else can chime in and tell me a better way, but I don't believe there would be a unified API for this since rotation is handled by the platform (eg, desktop has none)
You'd do it in the activity/view controller creation for android and iOS respectively