Capture when the back button is pressed

Posted on 22-01-2016 21:35 in Apple

Capture when the back button is pressed


I need to display a message to the user if they have unsaved changes on a form when they press the back button in the navigation bar. So far I have not found any documentation on capturing this event.

0 Answers

Sorry, your answer is too short !

Similar posts

Fix A2 & A2 Lite back button in XBMC

Here is a keymap xml for the A2 & A2 Lite that fixes the back button taking you back to the home screen instead of just one folder up. You need to copy it to your keymaps folder in: Android/data/hk.minix.xbmc/files/.xbmc/userdata/keymaps Reboot XBMC and you should now be able to browse normally. <keymap> <global> <keyboard> <backspace>Back</backspace> <key id='61467'>Back</key> </keyboard> </global> <FullscreenVideo> <...

Windows 10 laptop won't shut down properly, needs power button to be pressed to reset

Hi, I'm running Windows 10 Home on an ASUS Q551LN 2-in-1 laptop which originally came with Windows 8.1. When I shut down/restart/sleep the machine, it does not shut down - the Hark Disk activity light is still blinking and the normal power button press does not work. If I do nothing, it remains in this state for hours. I need to press the power button for 5 seconds to reset it. Only then I can start the laptop. This happens around half the times. The other half it works normally. I......

What event fires on the current page built in Back button press event?

Hi Which event fires on the current page when its built in Back button is selected. I want to trap that event however don't go back but perform some functions on the same page like reload the TableView based on some values stored in StateManager. Is this possible?...

Gxy S6 Not able to get Mobile Data toggle button back on the Notification Panel - Android

Until last night, I had a toggle button for turning on/off Mobile Data in the Notification Panel/Quick Settings panel. This morning, however, it has disappeared. I updated Android to version 5.0.2 more than 10 days back and the button was accessible all this while but not since this morning. I... Gxy S6 Not able to get Mobile Data toggle button back on the Notification Panel...

About Privacy Policy Feedback Report a policy violation Find instant help