Put start() in ViewDidLoad() causes crash #7
Comments
On simulator maybe ? |
yes, only on simulator. Although it doesn't crush on real device, but it doesn't work well with UIPageViewController. I have a pageVC that shows three pages, camera is one of them, when swipe to switch pages UI will pause for a second then switch. |
That's strange. So first the crash on the simulator is "normal". I mean I can also avoid it. CameraEngine.startup() |
On a real device, it only freezes the UI on the first swipe, after that everything works smoothly. |
Yes ok ! That's because the camera engine in the very first time, is begin to start. |
Perfect!!! Thanks! I really love this thing it's simple and great |
Awesome thanks !. |
I have following code in ViewDidLoad() and it causes app crash with error 'Can't add a nil AVCaptureInput' :
The text was updated successfully, but these errors were encountered: