Am using UIActivity indicator as UItableviewfooter,
my code is shown here
spinner = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
spinner.frame=CGRectMake(0, 0, 310, 44);
[spinner startAnimating];
self.myTableView.tableFooterView=spinner;
this works quite well in simulator, but when i run it in device the activity indicator seems stretched in both axis as per the cell dimensions .
Probably because you’re setting the width of the activity spinner as 310 pts. Instead, set it to 44 (to make the frame square), and adjust the x origin parameter to center it.
I’m not able to test this at the moment, but it’d probably be in the form of: