Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LMAlertView show] crashing #38

Open
rlimberger opened this issue Feb 19, 2014 · 1 comment
Open

[LMAlertView show] crashing #38

rlimberger opened this issue Feb 19, 2014 · 1 comment

Comments

@rlimberger
Copy link

I'm getting a lot of crashes in [LMAlertView show] with the following message:

A view can only be associated with at most one view controller at a time! View < UIView: 0x14e94050; frame = (0 0; 320 480); autoresize = W+H; layer = < CALayer: 0x14ef3880 > > is associated with < LMEmbeddedViewController: 0x14ee1950 >. Clear this association before associating this view with < LMEmbeddedViewController: 0x14dc7890 >.
-[LMAlertView show]
in LMAlertView.m on Line 442

is there a fix for this?

thanks.

@ztalbot2000
Copy link

Hi,

I'm in no way an expert in LMAlertView, but my guess from the message is
that a previous use of LMAlertView is still hanging around. Did you define
your instance of LMAlertView as global to your view controllers class, as
in through a property? Maybe before you alloc another instance you could
put a breakpoint and check if it is still allocated?

Take care,
John

On Wednesday, February 19, 2014, pixbroker notifications@github.com wrote:

I'm getting a lot of crashes in [LMAlertView show] with the following
message:

A view can only be associated with at most one view controller at a time!
View > is associated with . Clear this association before associating this
view with .
[LMAlertView show]
in LMAlertView.m on Line 442

is there a fix for this?

thanks.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants