bang590 / JSPatch

JSPatch bridge Objective-C and Javascript using the Objective-C runtime. You can call any Objective-C class and method in JavaScript by just including a small engine. JSPatch is generally used to hotfix iOS App.
MIT License
11.37k stars 2.24k forks source link

怎么设置view的hidden属性 #799

Closed objHua closed 7 years ago

objHua commented 7 years ago

如题,OC代码:self.view.hidden = YES; convert代码:self.view().setHidden(true); 但是执行到这一行会报错,找不到view的hidden方法

objHua commented 7 years ago

emmm,应该解决了,我改成self.view().setHidden(1);就可以了