I have developed an application that has a scanner to read bar codes, use a library of a private company that gave us the hardware and the library. everything works fine, but a store that has the application has power problems and for some reason causes the application to fail, the application works correctly and the next day it no longer reads codes. what we do is restart the application and it works again. then I thought that for this store to make a button to restart the application or the ipad and thus can work properly. the staff can not manipulate the iPad just by touching the screen.
but I have no idea how to do this function