摘要:
%@ Object%d, %i signed int%u unsigned int%f float/double%x, %X hexadecimal int%o octal int%zu size_t%p pointer%e float/double (in scientific notation)%g float/double (as %f or %e, depending on value)%s C string (bytes)%S C string (unichar)%.*s Pascal string (requires two arguments, pass pstr[0] as t 阅读全文
摘要:
str=[str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; 阅读全文
摘要:
//asp.net中的web.config中,需要开启get方式或者post方式<system.web> <webServices> <protocols> <add name="HttpSoap"> <add name="HttpPost"> <add name="HttpGet"> <add name="Documentation"> </protocols> </webService></syst 阅读全文
摘要:
-(IBAction)addPicEvent{ UIImagePickerControllerSourceType sourceType=UIImagePickerControllerSourceTypeCamera; if (![UIImagePickerControllerisSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) { sourceType=UIImagePickerControllerSourceTypePhotoLibrary; } UIImagePickerController * pi... 阅读全文