ios - Background Image overlaps Refresh Control -
in xcode 7.1, have used refresh control feature of tableview. have used following code set image background
uiimageview *tempimageview = [[uiimageview alloc] initwithimage:[uiimage imagenamed:@"image.png"]]; [tempimageview setframe:self.tableview.frame]; self.tableview.backgroundview = tempimageview;
this image overlaps activity indicator on app can't see if working. there way put activity indicator on top?
thanks
use line
self.tableview.backgroundcolor = [uicolor colorwithpatternimage:[uiimage imagenamed:@"image.png"]];
instead of using
self.tableview.backgroundview = tempimageview;
note: but uiimage
size should greater/equal uitableview
size
Comments
Post a Comment