mirror of
https://github.com/zhigang1992/react-native-wechat.git
synced 2026-04-30 05:14:54 +08:00
docs: update build-setup-ios.md (#379)
This commit is contained in:
@@ -13,7 +13,7 @@ the following screenshot for the view on your XCode:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
On iOS 9, add `wechat` and `weixin` into `LSApplicationQueriesSchemes` in
|
On iOS 9+, add `wechat` and `weixin` into `LSApplicationQueriesSchemes` in
|
||||||
`Targets` > `info` > `Custom iOS Target Properties`. Or edit `Info.plist`
|
`Targets` > `info` > `Custom iOS Target Properties`. Or edit `Info.plist`
|
||||||
then add:
|
then add:
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ then add:
|
|||||||
Then copy the following in `AppDelegate.m`:
|
Then copy the following in `AppDelegate.m`:
|
||||||
|
|
||||||
```objc
|
```objc
|
||||||
#import "RCTLinkingManager.h"
|
#import <React/RCTLinkingManager.h>
|
||||||
|
|
||||||
// ios 8.x or older
|
// ios 8.x or older
|
||||||
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
|
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
|
||||||
|
|||||||
Reference in New Issue
Block a user