We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e0c78 commit 1f5e2cdCopy full SHA for 1f5e2cd
OwnCloud Notes/MasterViewController.m
@@ -26,6 +26,12 @@ @implementation MasterViewController
26
- (void)fetchData
27
{
28
[[NSNotificationCenter defaultCenter] postNotificationName:kNotesShouldUpdateNotification object:self];
29
+
30
+ int64_t delayInSeconds = 5.0;
31
+ dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
32
+ dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
33
+ [self.refreshControl endRefreshing];
34
+ });
35
}
36
37
- (void)awakeFromNib
0 commit comments