Hello I am working on an ios app and I need to have a reliable source of truth other than the phone date time settings (witch the user can change by himself).
It is for a situation where I do not have internet and need to timestamp an event.
I so far I tried getting timestamp from CoreLocation object -> It does takes the timeStamp of the phone.
and look in CallKit or CoreTelephony if I could get any information about the time of the cellular provider network (in case we do not have internent but are still connected to cellular networl).
Is it me or I will be forced to timestamp with whatever date I do have at the time of the event and then when internet comes back, computes the offset from my backoffice time ?
thanks
question from:
https://stackoverflow.com/questions/66066194/is-there-any-way-to-have-date-time-other-than-using-date-ios 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…