hi, i am using the imedia lib to use cam.takepicture and cam.takevideo
the problem is when i use the camera more then once my app crashes.
it does not happen everytime sometimes it works ok but sometimes it crashes...
the problem is when i use the camera more then once my app crashes.
it does not happen everytime sometimes it works ok but sometimes it crashes...
...
Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x1c14ea80 V:|-(11)-[CAMFlipButton:0x1c1525e0] (Names: '|':CAMBottomBar:0x1c1574d0 )>",
"<NSLayoutConstraint:0x1c14ed10 CAMShutterButton:0x1c1548e0.centerY == CAMBottomBar:0x1c1574d0.centerY>",
"<NSLayoutConstraint:0x1c14f510 'UIView-Encapsulated-Layout-Height' V:[PLImagePickerCameraView:0x17981800(0)]>",
"<NSLayoutConstraint:0x1c13ad70 CAMBottomBar:0x1c1574d0.height == PLImagePickerCameraView:0x17981800.height>",
"<NSLayoutConstraint:0x1c1352e0 V:[CAMFlipButton:0x1c1525e0]-(0)-[UIView:0x1c1410d0]>",
"<NSLayoutConstraint:0x1c151830 UIView:0x1c1410d0.bottom == CAMShutterButton:0x1c1548e0.top>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x1c1352e0 V:[CAMFlipButton:0x1c1525e0]-(0)-[UIView:0x1c1410d0]>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
Error occurred on line: 1540 (main)
UIPopoverPresentationController (<UIPopoverPresentationController: 0x1c1ea940>) should have a non-nil sourceView or barButtonItem set before the presentation occurs.
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
UIKit <redacted> + 2696
UIKit <redacted> + 1196
UIKit <redacted> + 150
UIKit <redacted> + 308
UIKit <redacted> + 458
CoreFoundation <redacted> + 20
CoreFoundation <redacted> + 276
CoreFoundation <redacted> + 914
CoreFoundation CFRunLoopRunSpecific + 476
CoreFoundation CFRunLoopRunInMode + 106
GraphicsServices GSEventRunModal + 136
UIKit UIApplicationMain + 1440
Safe Area main + 116
libdyld.dylib <redacted> + 2
)