turen
turen
  • 发布:2016-02-17 17:28
  • 更新:2016-02-17 17:28
  • 阅读:1058

ios怎么使用 自定义类

分类:HTML5+

想使用一个小视屏功能 小视屏功能
在demo里面是这样调用的

WechatShortVideoController *wechatShortVideoController = [[WechatShortVideoController alloc] init];  
    wechatShortVideoController.delegate = self;  
    [self presentViewController:wechatShortVideoController animated:YES completion:^{}];

那我用nativejs 怎么写;


 var WechatShortVideoController = plus.ios.importClass("WechatShortVideoController");  
  var wechatshort =  new WechatShortVideoController();  

下面就不会写了

2016-02-17 17:28 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复