objective c - How to get the time in iOS Programming -
I wanted to get random numbers according to the time. How can you get the current time in iOS programming for iOS?
NSDate * now = [[NSDate alloc] init]; OR
NSDate * now = [date of NSDT];
By default, an NSDate object will be started to start the date.
Comments
Post a Comment