ios - Unable to simultaneously satisfy constraints on opening camera -


i have app use webview show html forms. in html forms there added functionality choose image device. functionality html form capturing image. when click on browse button of form webview camera opens , working fine below log in xcode.

snapshotting view has not been rendered results in empty snapshot. ensure view has been rendered @ least once before snapshotting or snapshot after screen updates. unable simultaneously satisfy constraints. @ least 1 of constraints in following list 1 don't want. try this: (1) @ each constraint , try figure out don't expect; (2) find code added unwanted constraint or constraints , fix it. (note: if you're seeing nsautoresizingmasklayoutconstraints don't understand, refer documentation uiview property translatesautoresizingmaskintoconstraints)  (     "<nslayoutconstraint:0x16fa21f0 uiview:0x180afaa0.height == 0.454545*cammodedial:0x16f06760.height - 4.09091>",     "<nslayoutconstraint:0x18065020 camshutterbutton:0x180bfbc0.centery == cambottombar:0x16f06100.centery>",     "<nslayoutconstraint:0x18065b70 v:[camshutterbutton:0x180bfbc0]-(0)-[cammodedial:0x16f06760]>",     "<nslayoutconstraint:0x18065ba0 cammodedial:0x16f06760.bottom == uibutton:0x180b5870'cancel'.top>",     "<nslayoutconstraint:0x180645f0 v:[uibutton:0x180b5870'cancel']-(31)-|   (names: '|':cambottombar:0x16f06100 )>",     "<nslayoutconstraint:0x180b6870 'uiview-encapsulated-layout-height' v:[plimagepickercameraview:0x170f2600(0)]>",     "<nslayoutconstraint:0x180b8780 cambottombar:0x16f06100.height == plimagepickercameraview:0x170f2600.height>" )  attempt recover breaking constraint  <nslayoutconstraint:0x16fa21f0 uiview:0x180afaa0.height == 0.454545*cammodedial:0x16f06760.height - 4.09091>  make symbolic breakpoint @ uiviewalertforunsatisfiableconstraints catch in debugger. methods in uiconstraintbasedlayoutdebugging category on uiview listed in <uikit/uiview.h> may helpful.  unable simultaneously satisfy constraints.     @ least 1 of constraints in following list 1 don't want. try this: (1) @ each constraint , try figure out don't expect; (2) find code added unwanted constraint or constraints , fix it. (note: if you're seeing nsautoresizingmasklayoutconstraints don't understand, refer documentation uiview property translatesautoresizingmaskintoconstraints)  (     "<nslayoutconstraint:0x18065020 camshutterbutton:0x180bfbc0.centery == cambottombar:0x16f06100.centery>",     "<nslayoutconstraint:0x18065b70 v:[camshutterbutton:0x180bfbc0]-(0)-[cammodedial:0x16f06760]>",     "<nslayoutconstraint:0x18065ba0 cammodedial:0x16f06760.bottom == uibutton:0x180b5870'cancel'.top>",     "<nslayoutconstraint:0x180645f0 v:[uibutton:0x180b5870'cancel']-(31)-|   (names: '|':cambottombar:0x16f06100 )>",     "<nslayoutconstraint:0x180b6870 'uiview-encapsulated-layout-height' v:[plimagepickercameraview:0x170f2600(0)]>",     "<nslayoutconstraint:0x180b8780 cambottombar:0x16f06100.height == plimagepickercameraview:0x170f2600.height>" )  attempt recover breaking constraint  <nslayoutconstraint:0x18065b70 v:[camshutterbutton:0x180bfbc0]-(0)-[cammodedial:0x16f06760]>  make symbolic breakpoint @ uiviewalertforunsatisfiableconstraints catch in debugger. methods in uiconstraintbasedlayoutdebugging category on uiview listed in <uikit/uiview.h> may helpful. 

i not able solve can me understand these errors , and suggest how go solving them?

edit :- on searching net camshutterbutton,cammodedial,cambottombar,plimagepickercameraview found camshutterbutton.h,cammodedial.h,cambottombar.h class files in camerakit.framework , plimagepickercameraview.h class file in photolibrary.framework. part of ios 8 private framework not using 1 of them in application.

change priority of constraint

"<nslayoutconstraint:0x18065b70 v:[camshutterbutton:0x180bfbc0]-(0)-[cammodedial:0x16f06760]>" required(1000) high(750) 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -