diff options
author | Ryan Petrich <rpetrich@gmail.com> | 2010-09-23 03:27:01 -0600 |
---|---|---|
committer | Jay Freeman <saurik@Jay-Freemans-MacBook-Pro.local> | 2010-10-04 00:12:20 -0700 |
commit | a07b7e8b750ba1cab7ef2f9e6a586a5d205dcbd7 (patch) | |
tree | 57f710cdecb5ea07637273a4f06618632c00ce66 | |
parent | 8e05f686bc60df745ab6b8484dda44379db9757f (diff) |
Use native modal capability of UIAlertView (so that scrollbar doesn't fail)
-rw-r--r-- | Cydia.mm | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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_; } |