mirror of
https://github.com/wu736139669/ASHReactNative.git
synced 2026-08-05 05:54:53 +00:00
md
This commit is contained in:
@@ -1,2 +1,20 @@
|
||||
# ASHReactNative
|
||||
ReactNative-iOS 使用
|
||||
|
||||
这套使用方法已经运用到线上,稳定运行很久了。
|
||||
###1.加载网络zip形式
|
||||
```
|
||||
[[ASHReactNative shareInstance] pushRNViewControllerWithURL:@"http://static.seeyouyima.com/rn.meiyou.com/meiyou-rn.zip?model=tips"];
|
||||
```
|
||||
###其中,model是页面名称,一个bundle可以对应多个页面。
|
||||
|
||||
###2.加载本地包
|
||||
```
|
||||
[[ASHReactNative shareInstance] pushRNViewControllerWithBundleName:@"main.jsbundle" modelName:@"index"];
|
||||
```
|
||||
|
||||
如有疑问:可以加qq询问 736139669.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user