layabox / LayaNative2.0

LayaNative2.0
80 stars 52 forks source link

2.6.0 2.8.0 ios调用jsbridge 静态方法,返回nsstring奔溃 #2

Closed devxi closed 3 years ago

devxi commented 3 years ago

如返回 NSString *s = [NSString StringWithString:@"哈哈哈,辣鸡laya"]; return s;
app必定奔溃。 而直接返回 return @"哈哈哈"; 则不会奔溃。