The apple documentation made this seem like it was pretty easy but it's not working. My code is:
UIActivityIndicatorView *activity = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
[activity startAnimating];
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:[NSURL URLWithString:@"http://www.myserver.com"]];
[request setPostValue:name forKey:@"key"];
[request startSynchronous];
NSLog(@"%@",[request responseString]);
[activity stopAnimating];
[activity release];
I didn't set anything up in UIBuilder because frankly, I don't understand exactly how it works with the UIActivityIndicator. Building and Running the app with the code I have above doesnt send off any warning indicators and runs just fine but I am not seeing the activity indicator.