I recently found a library called TrueTime for getting the time which does not depend on device time. It uses NTP to get the time.
https://github.com/instacart/TrueTime.swift
As this library is primarily built for swift 3. But I found a post in which there were some changes made in files to make it swift 4 compatible.
https://github.com/instacart/TrueTime.swift/issues/39
As I am using swift & using pod for this library. I unlocked the pods & made changes in the library to make work with swift 4.
How reliable is this library?
My concerns are
Apple approval after submitting an app.
Support for coming swift & iOS versions.
Are there better alternatives to this library?