uiviewcontroller - UITableViewController refresh control not showing -


i've implemented uitableview controller , reason refresh control isn't showing @ top there i've got wrong?

scoresnotificationspage

- (id)initwithframe:(cgrect)frame {     self = [self initwithstyle:uitableviewstyleplain];      self.view.backgroundcolor = [uicolor whitecolor];      self.view.frame = frame;      return self; }  - (void)viewdidload {     [super viewdidload];      uirefreshcontrol *refreshcontrol = [[uirefreshcontrol alloc] init];      refreshcontrol.tintcolor = [uicolor redcolor];      // assign refresh control table view controllers refresh property.      [refreshcontrol addtarget:self action:@selector(changesorting) forcontrolevents:uicontroleventvaluechanged];     self.refreshcontrol = refreshcontrol;  } 

mainviewcontroller

adding scoresnotificationspage with

[self.view addsubview:scoresnotificationspage.view]; 


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -