03 2013 档案
摘要:- (void)sendRequest:(id)sender { NSURL *URL = [NSURL URLWithString:@"http://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=zh-...
阅读全文
摘要:设置ios 图标右上角数字方法:int number = 0;[UIApplicationsharedApplication].applicationIconBadgeNumber = number;
阅读全文
摘要:(1)在一些开发中需要向服务器上传带有参数的URL request,参数中免不了会有中文字符,含有中文字符的URL是没法直接传送出去的,需要经过UTF8编码。然而在经过UTF8编码以后,上传到服务器的中文参数都产生了乱码;这里使用的是ASIHTTPRequest;(2)解决方案,替换ASIHTTPR...
阅读全文
摘要:1 setValue: forKey:的定义@interface NSMutableDictionary(NSKeyValueCoding)/* Send -setObject:forKey: to the receiver, unless the value is nil, in which ca...
阅读全文

浙公网安备 33010602011771号