Found code that takes a picture on iPhone