React Native targets iOS and Android, but you will sometimes want a different look on each platform - or even entirely different components.
We look at three different ways to get different code and styles on each platform.
Summary of Content:
Platform.OSto detect Android vs iOS
Platform.selectto automatically change styles for different platforms
.android.jsto use entirely different components on each platform
Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty