December 2019
Intermediate to advanced
474 pages
10h 3m
English
When styling your application, you might want to have different styling rules for iOS and Android, for example, to match the styling of the Android operating system better. There are multiple ways to apply different styling rules to different platforms; one of them is by using the Platform module, which can be imported from React Native.
Let's try this by adding icons to the tabs in the navigator tab and have different icons for iOS and Android:
import React from 'react';+ import { Ionicons } from '@expo/vector-icons';import { createAppContainer ...