[ios] use camera demo code