开发者

'NSDate' may not respond to +dateWithString

NSDate *future = [NSDate dateWithString:@"2010-12-25 00:00:00 -0600"];

I'm getting a warning message: NSDate may not respond t开发者_如何学Pythono +dateWithString

Any ideas?


NSDate dateFromString is MacOS only, not iOS.


maybe you mean the method in NSDateFormatter?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜