mirror of
https://github.com/tappollo/react-native-safari-view.git
synced 2026-04-29 12:25:05 +08:00
Update StatusBar examples (#64)
the current version of react native does not expose any methods on `StatusBarIOS`
This commit is contained in:
@@ -142,7 +142,7 @@ __Example__
|
||||
let showSubscription = SafariView.addEventListener(
|
||||
"onShow",
|
||||
() => {
|
||||
StatusBarIOS.setStyle("light-content");
|
||||
StatusBar.setBarStyle("light-content");
|
||||
}
|
||||
);
|
||||
```
|
||||
@@ -153,7 +153,7 @@ __Example__
|
||||
let dismissSubscription = SafariView.addEventListener(
|
||||
"onDismiss",
|
||||
() => {
|
||||
StatusBarIOS.setStyle("default");
|
||||
StatusBar.setBarStyle("default");
|
||||
}
|
||||
);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user