Fixed simulator can not select the photo.