Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JarvanMo/fluwx
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Sep 30, 2018
2 parents 4c480cc + 72a48d3 commit 9654399
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ isWeChatRegistered = YES;

### Other
* [Using Swift?](./doc/USING_SWIFT.md)
* [Having Questions?](./doc/QUESTIONS.md)
### Waiting

## LICENSE
Expand Down
1 change: 1 addition & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ isWeChatRegistered = YES;

### 其他
* [使用Swift?](./doc/USING_SWIFT_CN.md)
* [有问题?](./doc/QUESTIONS_CN.md)

### 更多功能敬请请期待

Expand Down
14 changes: 14 additions & 0 deletions doc/QUESTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## WeChat Not Installed on iOS?
if you have installed WeChat on your iPhone but you still catch an exception that "wechat not installed",just add the following
code to your *info.plist*:
```xml
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
```
14 changes: 14 additions & 0 deletions doc/QUESTIONS_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## WeChat Not Installed on iOS?
iOS 9系统策略更新,限制了http协议的访问,此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单,才可正常检查其他应用是否安装。
受此影响,当你的应用在iOS 9中需要使用微信SDK的相关能力(分享、收藏、支付、登录等)时,需要在“Info.plist”里增加如下代码:
```xml
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
```

0 comments on commit 9654399

Please sign in to comment.