1

I am developing Xamarin.ios ipad application using c#. I need to get time when the device(ipad) switched on, time when my app started, the time when my app goes background etc. How can I get these values using Xamarin?

Thanks in Advance, Roshil K

Roshil K
  • 2,583
  • 28
  • 38
  • 2
    you can use app lifecycle events to capture timestamps of when your app starts, etc. See https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/backgrounding/application-lifecycle-demo – Jason Aug 19 '22 at 11:36
  • Yes. But I need to get the time when the device first booted. – Roshil K Aug 22 '22 at 08:04
  • https://stackoverflow.com/questions/46415095/in-ios-using-swift-how-do-you-get-the-time-of-iphone-boot – Jason Aug 22 '22 at 12:50

0 Answers0