Open Settings App from another App in iOS - React Native

后端 未结 9 1299
予麋鹿
予麋鹿 2020-12-29 02:40

I\'m going through the docs in React Native and can only find navigating to external links from the app I am in.

I want to be able to navigate to the Settings

9条回答
  •  情歌与酒
    2020-12-29 03:18

    Since React Native version 0.59 this should be possible using openSettings();. This is described in the React Native Linking documentation. Although it did not work for me. When I tried quickly I saw a _reactNative.Linking.openSettings is not a function error message.

    Linking.openSettings();
    

提交回复
热议问题