MarkDown用反引号`标注代码

2018-07-12  本文已影响33人  paradisery
- (void)viewDidLoad {
   [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.view.backgroundColor=[UIColor yellowColor];
    
}

function buttonClick() {

                    //以字符串形式调用OC注入模型的实例方法

                    //通过cordova 将我们的模型名称,方法名,参数,成功回调的func及失败回调的func 传入

                    //cordova.exec(alertSuccess,alertFail,"firstCordova","helloCordova",["Hey,I'm ryJS!"]);

                    firstCordova.helloCordova(["hey js"],

                                              function(result){alert(result)},

                                              function(error){alert(error)},

                                              )

                }

上一篇下一篇

猜你喜欢

热点阅读