Wie die Aktivitäten-Anzeige in der Navigationsleiste?

Ich bin neu in die iphone-Entwicklung.Ich möchte, um eine Aktivitäten-Anzeige in der Navigationsleiste.Ich sehe meine Aktivitätsanzeige unten in der Navigationsleiste.Mein code ist hier

  -(IBAction) gomethod : (id) sender
{
 xxMapSubviewcontroller = [[XxMapSubviewcontroller alloc] init];
[self.navigationController pushViewController:xxMapSubviewcontroller animated:YES];

activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
activityIndicator.frame = CGRectMake(0.0, 0.0, 20.0, 20.0);
[activityIndicator startAnimating];

[xxMapSubviewcontroller.view addSubview:activityIndicator];
 }

Wie kann ich meine Aktivitäten-Anzeige in der Navigationsleiste? Bitte helfen Sie mir.Danke.

InformationsquelleAutor der Frage Warrior | 2010-02-18

Schreibe einen Kommentar