How to check if an NSDictionary or NSMutableDictionary contains a key? I need to check if an dict has a key or not. How? 16 Answers 16 objectForKey will return nil if a key doesn’t exist. May 5, 2022 0 Comments