天天
天天
const res = await axios({ url, method: 'GET', headers: { Authorization: `Bearer ${tenantToken}` }, responseType: 'arraybuffer', }); console.log(res); try { console.log('====0', res.data); console.log(Buffer,Buffer.from); const base64Data = Buffer.from(res.data, 'binary').toString('base64'); // console.log(base64Data);...
I have a oc object init like this: ``` (id)init { self = [super init]; if (self) { RCTSetFatalHandler(^(NSError *ferror){ // NSLog(@"%@", ferror); }); } return self; } ``` RCTSetFatalHandler...
could you give me a example for navigator with custom backgound-image?
``` - (void)forwardInvocation:(NSInvocation *)anInvocation { [super forwardInvocation:anInvocation]; } 注掉就崩溃,是不是能查查原因? ``` NSMethodSignature *methodSignature = [slf methodSignatureForSelector:origForwardSelector]; NSInvocation *forwardInv= [NSInvocation invocationWithMethodSignature:methodSignature]; 被打补丁对象如果自己实现了forwardInvocation,那么这里的执行是正确的,没有实现就崩溃了 是不是说明methodSignature没有获取到NSObject中相关的方法,如何能获取NSObject的呢?
16:41:56.198 ERROR: 404: error -66680 16:41:56.198 ERROR: >aq> 1600: failed (-66680); will stop (11025/0 frames) is it support on ios8?