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

SIAlertViewButtonTypeDestructive #128

Open
NikKovIos opened this issue Oct 11, 2016 · 6 comments
Open

SIAlertViewButtonTypeDestructive #128

NikKovIos opened this issue Oct 11, 2016 · 6 comments

Comments

@NikKovIos
Copy link

NikKovIos commented Oct 11, 2016

When type of button is SIAlertViewButtonTypeDestructive there are no visible text.

SIAlertView *areShure = [[SIAlertView alloc] initWithTitle:NSLocalizedString(@"cars_delete", @"") andMessage:NSLocalizedString(@"cars_shure_delete", @"")];
    areShure.transitionStyle = SIAlertViewTransitionStyleBounce;
    areShure.buttonColor = [UIColor redColor];
    [areShure addButtonWithTitle:NSLocalizedString(@"com_yes", @"") type:SIAlertViewButtonTypeDestructive handler:^(SIAlertView *alertView) {


    }];

    [areShure addButtonWithTitle:NSLocalizedString(@"com_no", @"") type:SIAlertViewButtonTypeCancel handler:nil];
    [areShure show];
@techinpark2
Copy link

techinpark2 commented Jan 3, 2017

Same problem.
have any solutions ?

@danielcampo
Copy link

danielcampo commented Jan 3, 2017

@NikKovIos Can you elaborate? I tested what you wrote with the UIAlertViewExample and I'm not seeing any issues with alert message or button text (assuming that's what you mean by visible text).

@NikKovIos
Copy link
Author

I used LGAlertView instead, because of this bug. Sorry - can't present any code.

@danielcampo
Copy link

@NikKovIos Sounds good. Good luck!

@techinpark Would you be willing to elaborate on your issue?

@techinpark2
Copy link

techinpark2 commented Jan 3, 2017

@danielcampo

I just use example code.

1st Button -> SAlertViewButtonType Default
2nd Button _> SIAlertViewButtonTypeDestructive
3d Button -> SIAlertViewButtonTypeCancel

not showing 2nd, 3rd Button..

@OnurVar
Copy link

OnurVar commented Jun 8, 2017

As you can see below these lines are not returning any image from bundle. Btw my pod file is using use_frameworks! . This may cause the problem.

screen shot 2017-06-09 at 1 07 52 am
screen shot 2017-06-09 at 1 08 10 am

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

4 participants