ideaPods
ideaPods
Test: XCode->Edit Scheme->Run->Build Configuration->Debug: oc_n.charValue() return -1; XCode->Edit Scheme->Run->Build Configuration->Release: oc_n.charValue() return 255; Why?
How should I get a signed return value after an jspatch call? I need -1 but not 255 on native.
- 过程: 用jspatch重写了接口,返回的代码是: `getSignedKey: function() {` ` var oc_n = OCNumber("NSNumber", "numberWithChar:", [-1]);` ` console.log("get value:"+ oc_n.charValue());` ` return oc_n.charValue();` `}` console log是: >> "get value:-1" 我的本地接口获取到的值却有不同: ` char signKey...