dmitric / DLCImagePickerController

ImagePickerController with live filters, radial blur and more. Brought to you by Backspaces.

Home Page:www.backspac.es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A view can only be associated with at most one view controller at a time!

pnicholls opened this issue · comments

Hey guys,

Running into an issue when trying to present the DLCImagePickerController. Strange thing is that it actually did work once but after that its continually hitting this error.

Im using cocoapods and xcode 4.6 if it helps.

Thanks!

2013-02-26 08:57:11.033 Noisy[4605:907] *** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'A view can only be associated with at most one view controller at a time! View <UIView: 0x20905a70; frame = (0 0; 320 568); autoresize = W+H; layer = <CALayer: 0x20905a40>> is associated with <UIViewController: 0x20905700>. Clear this association before associating this view with <DLCImagePickerController: 0x1f5d0310>.'
*** First throw call stack:
(0x327693e7 0x3a45a963 0x32769307 0x345dcd53 0x345dcc47 0x32fd77d9 0x32fd3543 0x326ef8a5 0x34714e7d 0x347146ff 0x3460d079 0x34597451 0x34623357 0x34664cd9 0x34663fab 0x34785da3 0xe3e13 0xe3cc7 0x346cf9d9 0x34663087 0x3466303b 0x34663015 0x346628cb 0x34662db9 0x3458b5f9 0x345788e1 0x345781ef 0x3628f5f7 0x3628f227 0x3273e3e7 0x3273e38b 0x3273d20f 0x326b023d 0x326b00c9 0x3628e33b 0x345cc2b9 0xd80a1 0xd8028)
libc++abi.dylib: terminate called throwing an exception

Hi Peter,

Have you tried it not using CocoaPods? I think that should fix it.

On Feb 25, 2013, at 5:06 PM, Peter Nicholls notifications@github.com
wrote:

Hey guys,

Running into an issue when trying to present the DLCImagePickerController.

Im using cocoapods and xcode 4.6 if it helps.

Thanks!

2013-02-26 08:57:11.033 Noisy[4605:907] * Terminating app due to
uncaught exception 'UIViewControllerHierarchyInconsistency', reason:
'A view can only be associated with at most one view controller at a
time! View <UIView: 0x20905a70; frame = (0 0; 320 568); autoresize =
W+H; layer = <CALayer: 0x20905a40>> is associated with
<UIViewController: 0x20905700>. Clear this association before
associating this view with <DLCImagePickerController: 0x1f5d0310>.'
*
First throw call stack:(0x327693e7 0x3a45a963 0x32769307 0x345dcd53
0x345dcc47 0x32fd77d9 0x32fd3543 0x326ef8a5 0x34714e7d 0x347146ff
0x3460d079 0x34597451 0x34623357 0x34664cd9 0x34663fab 0x34785da3
0xe3e13 0xe3cc7 0x346cf9d9 0x34663087 0x3466303b 0x34663015 0x346628cb
0x34662db9 0x3458b5f9 0x345788e1 0x345781ef 0x3628f5f7
0x3628f227 0x3273e3e7 0x3273e38b 0x3273d20f 0x326b023d 0x326b00c9
0x3628e33b 0x345cc2b9 0xd80a1 0xd8028)libc++abi.dylib: terminate
called throwing an exception


Reply to this email directly or view it on
GitHubhttps://github.com//issues/31.

Yup that got it, what is required to get the pod working? Maybe I could have a crack at it.

Thanks @dmitric