var handler
=
new ObjC.Block({
retType:
'void'
,
argTypes: [
'object'
],
implementation: function (age,age2) {
console.log(
'test'
)
console.log(age)
console.log(age2)
}
});
let lClassName
"DCDevice"
let _methodName
"- generateTokenWithCompletionHandler:"
let dcclass
ObjC.classes[lClassName][
'+ currentDevice'
]()
console.log(dcclass[
'- isSupported'
]())
dcclass[_methodName](handler)
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!