Create UIActivityIndicator in iPhone Objective C

To create a UIActivityIndicator that displays a loading indicator in iPhone,


UIActivityIndicatorView *viewIndicator = [[UIActivityIndicatorView alloc] initWithFrame:indicatorFrame];
[viewIndicator startAnimating];
[viewIndicator setActivityIndicatorViewStyle:UIActivityIndicatorViewStyleGray];
[self.view addSubview:viewIndicator];

Comments

Popular posts from this blog

Integrating ZXing QR Code reader in iPhone / iOS applications

Multiple line of text in UIPickerView

Connect Samsung devices to Kies on Mac