MarkDown用反引号`标注代码

- (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)},

                                              )

                }

推荐阅读更多精彩内容