Post

Replies

Boosts

Views

Activity

Reply to Puzzling crash on iOS 16.0
Rúguǒ nǐ swizzlele NSMutableDictionary de “setObject:ForKeyedSubscript:” Fāngfǎ. - (Void)***_setObject:(Id)obj forKeyedSubscript:(Id)key { if (!Key ||!Obj) return; [self ***_setObject:Obj forKeyedSubscript:Key]; } nàme shānchú “||!Obj” jí kě jiějué! 朗读 244 / 5,000 翻译结果 If you swizzle the "setObject:forKeyedSubscript:" method of NSMutableDictionary. - (void)***_setObject:(id)obj forKeyedSubscript:(id<NSCopying>)key { if (!key || !obj) return; [self ***_setObject:obj forKeyedSubscript:key]; } Then delete "|| !obj" and it will be solved!
Oct ’22