iOS Question Activity_KeyPress detection

Ertan

Active Member
Licensed User
Hi
I want to create an event when the power button of the phone is pressed in my project.

Keycodes it can not be found.
B4X:
Main - 119: Undeclared variable 'keycodes' is used before it was assigned any value.
I don't have a problem with Android phones.
I could not find a solution in the forum.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…