fix auto focus on ios 7

In my Iphone4 with IOS7 the camera was not doing auto focus. Tested in Iphone4 with IOS7 and it is working now.