采取的NSDate我有串@"Sun, 15 Jan 2012 17:09:48 +0000"
我想从约会吧.. 我能做些什么 我试图不能从dateString
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat:@"DDD, DD MMM YYYY HH:MM:SS +HHMM"];
NSDate *date = [dateFormat dateFromString:stringDate];
but date was nslogged with null
你能给我们日期试图解析的字符串吗?这可能有助于确定它为什么返回null。 – 2012-03-09 14:34:42