ios-custom-alertview icon indicating copy to clipboard operation
ios-custom-alertview copied to clipboard

Does not show at all

Open yeradis opened this issue 9 years ago • 5 comments

Running from the sample launch without problema

but when trying to launch elsewhere does not show anything

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

yeradis avatar Sep 01 '15 21:09 yeradis

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.

atomhax avatar Sep 19 '15 00:09 atomhax

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

ashishj-optimus avatar Oct 23 '15 09:10 ashishj-optimus

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

atomhax avatar Oct 24 '15 00:10 atomhax

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

macecchi avatar Dec 02 '15 18:12 macecchi

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];

sssbohdan avatar Nov 21 '16 12:11 sssbohdan