camera was not working on iPad