From: Ryan Petrich Date: Thu, 23 Sep 2010 09:27:01 +0000 (-0600) Subject: Use native modal capability of UIAlertView (so that scrollbar doesn't fail) X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/05636a2c619a660f5d11f0468844326e65f7d5fc?ds=inline Use native modal capability of UIAlertView (so that scrollbar doesn't fail) --- diff --git a/Cydia.mm b/Cydia.mm index a88eff07..8eb45e51 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -351,11 +351,9 @@ static _finline NSString *CydiaURL(NSString *path) { } - (int) yieldToPopupAlertAnimated:(BOOL)animated { + [self setRunsModal:YES]; button_ = 0; [self show]; - NSRunLoop *loop([NSRunLoop currentRunLoop]); - NSDate *future([NSDate distantFuture]); - while (button_ == 0 && [loop runMode:NSDefaultRunLoopMode beforeDate:future]); return button_; }