I am new to mobile development. I would like to show a different screen if GPS is not enabled. I have put the code in the view did appear to show the new screen this works most of the time. However when app returns from background the new screen is not shown. After debugging i found that when the app returns to foreground Viewdidload/viewdidappear/the constructor of the controller is not called.
Is there an override which I can use to when the app returns from background on the controller. Also after research I found this link
If this is the way forward, can someone help me convert this code to Xamarin ios.
Thanks in advance.