warning no-method descriptionWithCalendarFormat:timeZone:locale found
问题 I am getting this warning in xcode 3.1.3 iphone os 3.0. This method is also not available in the NSDate class. But I am getting the date from this method. Can anyone please tell me How can I get rid of this warning???? 回答1: You'll want to use NSDateFormatter instead. descriptionWithCalendarFormat:timeZone:locale: landed on the "non-public API" list recently, and is grounds for rejection of your app. Here's an example of how you can use NSDateFormatter: NSDateFormatter *dateFormatter = [