ios-custom-alertview
ios-custom-alertview copied to clipboard
Does not show at all
Running from the sample launch without problema
but when trying to launch elsewhere does not show anything
CustomIOSAlertView *alertView = [[CustomIOSAlertView alloc] init]; ..... [alertView show];
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.
I am trying to present it over TableView, unfortunately it's not showing up at all.
Can you post your code for when you initialize your alert view?
Are you trying to do this on viewDidLoad? As pointed out by @wimagguc, this solution might help: #26
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];