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

Not showing on beta versions. #61

Closed
irshadpc opened this issue Jul 20, 2017 · 5 comments
Closed

Not showing on beta versions. #61

irshadpc opened this issue Jul 20, 2017 · 5 comments

Comments

@irshadpc
Copy link

irshadpc commented Jul 20, 2017

I tried to use this controller in beta devices and my experiences were very bad. Most of the time alert not showing in beta iOS versions some times it may not work in iOS 10.3 and later versions.

@nimati
Copy link
Owner

nimati commented Aug 7, 2017

Hi @irshadpc

Thanks for the heads up. Can you provide me more information and possibly screenshots or code snippets behind this? It'd be much appreciated.

Cheers,
Nima

@irshadpc
Copy link
Author

irshadpc commented Aug 28, 2017

@nimati I found a workaround for this.
- (void) showAlertInView:(UIViewController *)view withTitle:(NSString *)title withSubtitle:(NSString *)subTitle withCustomImage:(UIImage *)image withDoneButtonTitle:(NSString *)done andButtons:(NSArray *)buttons {}
Only the above method is working in iOS 10 beta and iOS 11 beta. If anything more please let me know.

@nimati
Copy link
Owner

nimati commented Aug 29, 2017

@irshadpc That's interesting. Just so I can get a better idea of what might be going on, do you mind sending over the code you're using to generate the FCAlertView and in which method? (ViewWillLoad, ViewDidAppear, or after?) Thanks!

@cocoaniu
Copy link

iOS11:- (void)drawRect:(CGRect)rect does not perform @nimati

@cocoaniu
Copy link

Replace“ [window addSubview:self];
[window bringSubviewToFront:self];” with“ [[[UIApplication sharedApplication].windows objectAtIndex:0] endEditing:YES];
[[[UIApplication sharedApplication].windows objectAtIndex:0] addSubview:self];”

@nimati nimati closed this as completed Apr 16, 2020
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

3 participants