A Uaitibl scene iPhone app to me which group style. The ViewController I define a UIActivityIndicatorView as a property:
self.browsingIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle: UIActivityIndicatorViewStyleWhite]; Browsing indicator I Table section in one of the header to keep the spinner:
- (UIView *) tableView: (UITableView *) tableView viewForHeaderInSection :( NSInteger) section {UIView * sectionHeader = [[[UIView alloc] init] autorelease]; [Section header preview: browsing indicator]; Browsing indicator Center = CP point make (20, 30); Return section headers; } Is it a problem: Once I change device vanishes orientation activity indicator, it only reappears when I drag it out of view screen And back to the original orientation does not help turning the device back, "hidesWhenStopped" is not changing. not.
Can anyone tell me in the right direction? Thanks!
Thanks for your reply Mike, but I do not think it is the same. The UIActivityIndicatorView is adjusted and corrected but it is not ready. When I spin it to the right place (by scrolling it out of the scene) to re-create the sectionHeader also bound in the Landscape Orientation.
I tried to set up autoResizingMask clearly, but it did not change the1. Missing
Edit: Could not comment on your reply, I did not really get any post / comment, without registering here: - /
EDIT2:
[section header endview: browsing indicator]; think part of the problem that I browsingIndicator straight back is working
Now type of solution: .. If I define UIView for the section headers outside the ViewForHeaderInSection method and then just return it, it works
Comments
Post a Comment