Does anyone know how to set the interface orientation for the ZBar SDK? I need it to work in landscape view and not portrait. I tried adding [reader shouldAutorotateToInterfaceOrientation:UIInterfaceOrientationLandscapeRight];but it didn’t work. Any ideas?
Does anyone know how to set the interface orientation for the ZBar SDK? I
Share
Create a wrapper class around ZBarReaderView and add the iOS 6 methods:
Then use the class you created over the built in ZBar one, make sure you keep the old iOS 5 methods in the same controller:
and also:
I know it’s late, but I just got around to doing this myself for iOS 6.