I want to use the function of QRCodeReader in my app.
My app is developed in cocos2d-x.
I think I have to use native code (Android/iOS).
There are some ways to use QRCodeReader in iOS. (ZXing,ZBar,and the QR function in iOS (http://www.renaudpradenc.com/?p=453))
But my code in any way doesn't work well.. Anyone know how to do?
It might not related to this question, the following code can call Camera in iOS.
void NativeLauncher::ShowCameraView(){
AppController *appController = (AppController *)[UIApplication sharedApplication].delegate;
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
[appController.viewController presentModalViewController:imagePicker animated:YES];
}