I am curious how complex it is to create an iOS sp...
# compose-ios
t
I am curious how complex it is to create an iOS specific MaterialTheme instance such that we can have a more native looking UI on each platform...
👆 1
o
iOS design system is not Material at all… It’s not just colors, but also other design elements, behaviors, animations, effects, etc.
t
I understand that. But the sample code in shared is like so:
Copy code
@OptIn(ExperimentalResourceApi::class)
@Composable
fun App() {
    MaterialTheme {
Are you suggesting that this MaterialTheme is already adjusted to look more like iOS when on iOS?
o
I don’t know for sure, but I guess it is not. Same theme as on Android, Desktop or any other platform, same components and their behaviors. With M3 you can tune more aspects, but it’s still Material.
a
@tylerwilson I don't think Material will be eventually adjusted to match iOS-style(called Cupertino), in Flutter the user has the possibility to use
OS specific
widgets, like this, my guess will be that maybe in the future we could have something similar in Compose
t
For now I would be happy to be able to do something like expect/actual CustomTheme which would let me adjust colors, type, shapes between the two, but use the same composables in common. thanks.
d
iOS design system is not Material at all
Yup. I wonder why people want to use Material Design for iOS. I suppose the same people use the Roboto font in their iOS apps. 😉