2012年2月27日
摘要: 原文地址:http://www.cnblogs.com/anmog/archive/2011/03/09/1978621.html NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init]; NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; NSLog(@"Load currentCookie:%@", cookie); [request setValue:cookie forHTTPHeaderField:@"C.. 阅读全文
posted @ 2012-02-27 17:03 心不蒙尘 阅读(7640) 评论(0) 推荐(0) 编辑
摘要: IOS开发中肯定会用到的。原文地址如下:(我改了一下标题,这样检索的时候更容易找到)http://www.cnblogs.com/85538649/archive/2011/10/27/2226014.htmlNSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);NSString *documentsDirectory = [paths objectAtIndex:0];NSString *path = [documentsDirectory string 阅读全文
posted @ 2012-02-27 14:37 心不蒙尘 阅读(4806) 评论(0) 推荐(0) 编辑