Nsdictionary *paramaddr = [[Nsdictionary alloc] Initwithobjectsandkeys:
_registeruser.au_name,@ "Au_name", _registeruser.au_password,@ "Au_password", _house_area.text,@ "Hou_area",
_hou_id,@ "hou_id",
_au_is_binding,@ "Au_is_binding",
NIL];
when the above method creates a dictionary, when there are multiple keys, there is a carriage return in the middle, which causes the dictionary to be missing elements.
It is recommended that you do the following (if you want to determine if each value is empty before adding it):
Nsmutabledictionary *dic = [[Nsmutabledictionary alloc] init];
[DiC setobject:_registeruser.au_name forkey:@ "Au_name"];
[DiC setobject:_registeruser.au_password forkey:@ "Au_password"];
[DiC setobject:_house_area.text forkey:@ "Hou_area"];
[DiC setobject:_hou_id forkey:@ "hou_id"];
[DiC setobject:_au_is_binding forkey:@ "au_is_binding"];
Creating a dictionary Considerations 1