iphone - Current and Updating time in iOS? -
i'm developing tool car driving saves gps data, accelerometer data , time later use.
acceleration least priority, though.
all need little code example can current system time printed updating clock in xcode because want save data fast , possible :>
thanks in advance answers :)
h4wkeye
to current system time use
nsdate* currentdate = [nsdate date];
and string representation of nsdate
- (nsstring *)description then use below
nsstring* dateinstring = [currentdate description];
Comments
Post a Comment