-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Platform: iOSiOS applications.iOS applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Is this a bug report?
don't know
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Xcode: 9.2
react-native: 0.48.1 => 0.48.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
Target Platform: iOS 10 and greater
Steps to Reproduce
in my index.ios.js
`render() {
StatusBar.setBarStyle('light-content', true);
StatusBar.setTranslucent(true)
StatusBar.setHidden(true)
return (
<SafeAreaView style={{ flex:1,backgroundColor:BACKGROUND,}}>
<View style={{flex:1}}>
<StatusBar hidden={true} />
<Provider store={store}>
<RouterComponent />
</Provider>
</View>
</SafeAreaView>
);
}
)`
My React Native app on iOS 10 starts from under the status bar but in iOS 11 the app starts from below the status bar. I want to start the app from 0x 0y off screen for all versions of iOS and the nav bar under the status bar. In Android there is a function called setTranslucent() but on iOS I didn't find a function which supports this. In my index.ios.js
@redmar @mojodna @aroth
igorpan, ngandhy, tw-lyallw, jaybowang, douglasjunior and 10 more
Metadata
Metadata
Assignees
Labels
Platform: iOSiOS applications.iOS applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.