Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: Z8TITLE)'

Solution:

If you are tried to set declare the dictionary and then set the values on run time is raised the problem.So if your values will be changable at runtime then must use NSMutableDictionary then assign the values to that.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift