yeahdongcn / RSBarcodes_Swift

1D and 2D barcodes reader and generators for iOS 8 with delightful controls. Now Swift.
MIT License
710 stars 185 forks source link

conflict with main window background color #38

Open cloud-tribal opened 8 years ago

cloud-tribal commented 8 years ago

It appears that setting

self.window?.backgroundColor = UIColor.greenColor()

in didFinishLaunchingWithOptions conflicts with the RSCodeReaderViewController camera view. The camera view doesn't use the camera; rather, it is simply a UIViewController with the same background color as declared above

I successfully reproduced this bug on a dummy project, and it does demonstrate this behavior for regular UIImagePickerController

Any ideas/ suggestions?

yeahdongcn commented 8 years ago

Hello, I updated the window's background color and I could not reproduce your problem. Could you share your dummy project to me, maybe I can find the problem.