Jump to content

SCLAlertView Style troubles/errors


Go to solution Solved by Pro,

28 posts in this topic

Recommended Posts

  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

I remember having this issue myself, I cannot remember how I solved it. :p

 

Dida, I managed to implement it I change like this __weak typeof (self) weakSelf = self; with __weak __typeof __ (self) weakSelf = self; in SCLAlertView.m and managed.
 
but when I press the exit button, no response. What is wrong? 
 
 
Tweak.xm :
 
%hook BBMAppDelegate
- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
 
    SCLAlertView *alert = [[sCLAlertView alloc] initWithNewWindow];
 
    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting
              subTitle: @"Subtitle here"
      closeButtonTitle: @"Close button"
              duration: 0.0f];
return %orig;
}
%end
Updated by pxcex
Posted

Dida, I managed to implement it I change like this __weak typeof (self) weakSelf = self; with __weak __typeof __ (self) weakSelf = self; in SCLAlertView.m and managed.

 

but when I press the exit button, no response. What is wrong? 

 

 

Tweak.xm :

 

%hook BBMAppDelegate

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

 

    SCLAlertView *alert = [[sCLAlertView alloc] initWithNewWindow];

 

    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting

              subTitle: @"Subtitle here"

      closeButtonTitle: @"Close button"

              duration: 0.0f];

return %orig;

}

%end

Try some old headers. The newest ones freeze

Posted

Try some old headers. The newest ones freeze

 

May I use the header has Dida? or link suggested? tks Dida

Posted

Anyone figure this out? I'm stuck at square 1 with the errors :b

 

Help Plist?

Yeah I'll give you my headers :p -w usually solves type errors for me

 

Help Plist?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines