request_ = request;
- if ([request_ HTTPBody] == nil && [request_ HTTPBodyStream] == nil)
+ if (cache || [request_ HTTPBody] == nil && [request_ HTTPBodyStream] == nil)
[self loadRequest:request_];
else {
UIAlertView *alert = [[[UIAlertView alloc]
}
}
-- (void) reloadURL {
- [self reloadURLWithCache:YES];
-}
-
- (void) reloadData {
[super reloadData];
}
- (void) reloadButtonClicked {
- [self reloadURLWithCache:YES];
+ [self reloadURLWithCache:NO];
}
- (void) _customButtonClicked {
if (button == [alert cancelButtonIndex])
[self dismissModalViewControllerAnimated:YES];
else if (button == [alert firstOtherButtonIndex]) {
- [self complete];
+ [self performSelector:@selector(complete) withObject:nil afterDelay:0];
}
[alert dismissWithClickedButtonIndex:-1 animated:YES];