Empty UITextField in iOS 7 returns “empty description” object and everything is OK. Meanwhile iOS 6 returns “nil” and tries to set it as value in dictionary, which causes app crash.
So it is better to check UITextField text and in case if it is empty, return @“”.
Empty UITextField in iOS 7 returns “empty description” object and everything is OK. Meanwhile iOS 6 returns “nil” and tries to set it as value in dictionary, which causes app crash. So it is better to check UITextField text and in case if it is empty, return @“”.