iphone - Refresh a tab in xcode? -
is there way refresh tab's content in xcode? i'm setting tab follows: [[dappdelegate tabbarcontroller] setselectedindex:1];
however, when try , different screen, same tab screen still selected. there way have tab reload data?
thanks, graeme.
i use hack around seems work case:
if(tabbarcontroller.selectedindex == 1) { [tabbarcontroller setselectedindex:-1]; [tabbarcontroller setselectedindex:1]; } else { [tabbarcontroller setselectedindex:1]; }
Comments
Post a Comment