UIRefreshControl without UITableViewController

On a hunch, and based on DrummerB’s inspiration, I tried simply adding a UIRefreshControl instance as a subview to my UITableView. And it magically just works! UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init]; [refreshControl addTarget:self action:@selector(handleRefresh:) forControlEvents:UIControlEventValueChanged]; [self.myTableView addSubview:refreshControl]; This adds a UIRefreshControl above your table view and works as expected without having to use a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)