Closed salisuabubakar closed 11 months ago
Hi, you can have primary
top tabs on Android but not on iOS. The UITabBarController
from UIKit doesn’t support top tabs. But you can have non-primary top tabs on iOS if you want?
<TabBar primary={Platform.OS === 'android'} bottomTabs={false}>
Hi, its working but i would like to know on iOS is it the same as segmented control ?
Yea, it's the segmented control
I saw this and wanted to share. Is it the same ? When i change it non primary the segmented controls is on top of the navigationbar.
Yea, it's the same. You need to wrap it in a SafeAreaView
like in the notifications scene of the twitter sample
Yeah its cool. Just tried it. Thanks
Hi, IS there a way to create TopTabs for both android and iOS. Thanks