youknowone / UI7Kit

Backport flat-style UIKit from iOS7 to iOS5+
Other
1.67k stars 199 forks source link

UIAlertView/UIActionSheet #9

Open youknowone opened 11 years ago

youknowone commented 11 years ago

UIAlertView

iT0ny commented 11 years ago

UIActionSheet(v0.0.14) crashes with "[UIActionSheet _setTheme]: unrecognized selector" :(

iT0ny commented 11 years ago

Please add UIAlertViewStyle(w/ text inputs) to UIAlertView to-do list

youknowone commented 11 years ago

Thanks updated

segiddins commented 11 years ago

@youknowone this looks like a visual glitch ios simulator screen shot aug 19 2013 9 19 12 pm

segiddins commented 11 years ago

Probably related to the commits referenced by #73

segiddins commented 11 years ago

Also, UIAlertView is heavily broken with Appirater ios simulator screen shot aug 19 2013 11 00 28 pm

youknowone commented 11 years ago

I should review upper one. About Appirator, UI7Kit does not fit for all the alert view environment yet, unfortunately.

You can opt-out @"UI7AlertView" to avoid this problem temporary. https://github.com/youknowone/UI7Kit/blob/master/UI7Kit/UI7KitCore.h#L27

segiddins commented 11 years ago

I'd rather not opt out of UI7AlertView. The problem seems to be related to the row calculation in UI7AlertView's -relayout.

segiddins commented 11 years ago

@youknowone as soon as we can figure this out I can ship a new version of my app that fixes the bug you noticed

youknowone commented 11 years ago

Could you share code for Activate, Later alert view? It seems new bug after moving cancel button to bottom. About Appirater, I have no idea. It looks similar like known 'repeated alert view' problem, but I have no idea how to fix it.

segiddins commented 11 years ago
UIAlertView *alertView = [UIAlertView bk_alertViewWithTitle:@"Activate Your Account" message:@"You need to activate your account. Go to slader.com/account/activate/please before it's too late."];
[alertView bk_addButtonWithTitle:@"Activate" handler:^{
     NSURL *activateURL = [NSURL URLWithString:@"http://slader.com/account/activate/please"];
     [[UIApplication sharedApplication] openURL:activateURL];
}];
[alertView bk_setCancelButtonWithTitle:@"Later" handler:nil];
[alertView show];

Although I'm using BlocksKit, I don't think that's what's responsible.

segiddins commented 11 years ago

@youknowone any update?

youknowone commented 11 years ago

Not yet, sorry.

gabrielribeiro commented 11 years ago

Yeap, still problems with textinput in UIAlertView, using iOS6