Add one minutes in NSDate

You can use dateByAddingTimeInterval.
NSDate *currentDate = [NSDate date];
NSDate *date_plus_one_minute = [currentDate dateByAddingTimeInterval:60]; //60 seconds

Comments

Popular posts from this blog

Scroll UITextField above Keyboard in a UITableView OR UIScrollView in Swift and Objective C

Reverting all Xcode settings to default settings

CGRectIntegral