Post not yet marked as solved
Thank You Eskimo for your responsequestion(1) Not sure i understand timestamp from network i dont get any time from server(2) For current time any suggestions? should i use timesince1970??
Hi there,I am looking for real time since we got bug on system time user can go into device and can change time.I found similar to what nimrodgutman foundmach_timebase_info(&timebaseInfo).:-- question is what is timebaseInfostartTime = machAbsoluteToSeconds()func machAbsoluteToSeconds(machAbsolute: UInt64 = mach_absolute_time()) -> Double {let nanos = Double(machAbsolute * UInt64(timebaseInfo.numer)) / Double(timebaseInfo.denom)return nanos / 1.0e9;// This method converts nanoseconds into secondslet elapsed = self.machAbsoluteToSeconds() - self.startTime:-- question is elapsed time giving me difference of calcuation of seconds to nanoseconds ?? then time should be same correct??Important Question machAbsoluteToSeconds does it give time when application is on background or when on sleep ???
Hi there,I am looking for real time since we got bug on system time user can go into device and can change time.I found similar to what nimrodgutman foundmach_timebase_info(&timebaseInfo).:-- question is what is timebaseInfo startTime = machAbsoluteToSeconds()func machAbsoluteToSeconds(machAbsolute: UInt64 = mach_absolute_time()) -> Double {let nanos = Double(machAbsolute * UInt64(timebaseInfo.numer)) / Double(timebaseInfo.denom)return nanos / 1.0e9;// This method converts nanoseconds into secondslet elapsed = self.machAbsoluteToSeconds() - self.startTime:-- question is elapsed time giving me difference of calcuation of seconds to nanoseconds ?? then time should be same correct??Important Question machAbsoluteToSeconds does it give time when application is on background or when on sleep ???
Post not yet marked as solved
Thats right but requirement is it should go iphone settings on very first page rather than asking user to click back button
Post not yet marked as solved
Hi Calude31,Thank you for your response,i tried to using openURL(_:) still no change in result
Post not yet marked as solved
for Decoding the certificate do i need to use some openssl lib ??? if not what are ways to decode certificate?
Post not yet marked as solved
i wanted to fetch expiration date details from certificate in iOS. I tried using apple security framework calling method SecCertificateCreateWithData but its not supporting for iOS
Post not yet marked as solved
i am looking for some solution to get x509 data without openssl any suggestions ??