objective c - How to disable auto refresh in a UITableView? -


i have table view in app, , when press navigation bar button, table iew moved 60px down see view, because want show information background color of table cells.

my problem when press button @ first time, table view reloads , can't see other view.

this code:

- (ibaction)buttonpress:(id)sender {     [uiview beginanimations:nil context:null];     [uiview setanimationduration:0.7];     self.tview.frame = cgrectmake(0, 60, self.view.frame.size.width,   self.view.frame.size.height);     [uiview commitanimations];     self.navigationitem.rightbarbuttonitem.enabled = no;     [nstimer scheduledtimerwithtimeinterval:0.7         target:self         selector:@selector(hiddenlabel)         userinfo:nil         repeats:no]; }  -(void)hiddenlabel{     if (self.label.hidden){         self.label.hidden = no;         [self.label settext:@"info...."];     }     else self.label.hidden = yes; } 

i think problem when move table view i'm not sure. can me? thanks.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -