Templates Plugins Courses

Camera Image is not uploading


#1

I am trying to upload image in Native iOS app using . I am able to do it from photo gallery but if I select camera then it is not uploading. I am getting following Error:-

2019-04-08 19:42:21.617480+0530 Zeroqode[2373:363912] [LayoutConstraints] 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.

(

"<NSLayoutConstraint:0x2816d50e0 UIView:0x10263eb50.width == - 16 (active)>"

)

Will attempt to recover by breaking constraint

<NSLayoutConstraint:0x2816d50e0 UIView:0x10263eb50.width == - 16 (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.


#2

Hi,

Did you add permissions for PhotoLibrary and Camera in Info.plist file.

Best regards