Finding a bug using Xcode - attempt to insert nil value

前端 未结 5 655
离开以前
离开以前 2021-02-10 15:18

I am getting a random bug in my app, which is causing it to crash. The problem I am facing is XCode doesn\'t tell me where the crash is happening only the below information. Can

5条回答
  •  梦毁少年i
    2021-02-10 15:48

    your problem is that you are using setObject: forKey Method to NSDictionary just make it NSMutableDictionary then try this method you can't assign value for NSDictionary like you are trying it's only for NSMutableDictionary.

    i hope you will get my point what i am try to say.

提交回复
热议问题