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

Does not show at all #83

Open
yeradis opened this issue Sep 1, 2015 · 5 comments
Open

Does not show at all #83

yeradis opened this issue Sep 1, 2015 · 5 comments

Comments

@yeradis
Copy link

yeradis commented Sep 1, 2015

Running from the sample launch without problema

but when trying to launch elsewhere does not show anything

CustomIOSAlertView *alertView = [[CustomIOSAlertView alloc] init];
.....
[alertView show];

@atomhax
Copy link

atomhax commented Sep 19, 2015

I'm not the author, just a fellow user. I've have the Custom alert working in 2 separate controllers without issue.

I've can even get the plain version with no buttons to show. My guess is that either you're not setting a frame for the view. See the demo at the function -(void *) createDemoView. Or you may have not set the view controller as an CustomIOSAlertViewDelagate.

I had issues at first too and it was the former issue that I listed.

@ashishj-optimus
Copy link

I am trying to present it over TableView, unfortunately it's not showing up at all.

@atomhax
Copy link

atomhax commented Oct 24, 2015

Can you post your code for when you initialize your alert view?

@macecchi
Copy link

macecchi commented Dec 2, 2015

Are you trying to do this on viewDidLoad? As pointed out by @wimagguc, this solution might help: #26

@sssbohdan
Copy link

Just added library in 3rdParty and rewrite method show as
- (void)showOverView:(UIView *)overView;

and changed code
[[[[UIApplication sharedApplication] windows] firstObject] addSubview:self];
on
[overView addSubview:self];

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

5 participants