言語:obejective-c
UIAlertViewにてボタンなしのアラートウィンドウを作成したのですが
このウィンドウの消去方法がわかりません。
以下のコードで書いてますが表示されるけど消えない状況です。
アラートウィンドウを消すにはどうすればいいでしょうか?
UIAlertView *progressAlert = [[UIAlertView alloc]
initWithTitle:@""
message:@"Please wait..."
delegate:self
cancelButtonTitle:nil
otherButtonTitles:ni[/url];
progressView = [[[UIProgressView alloc]initWithProgressViewStyle:UIProgressViewStyleBa[/url] autorelease];
progressView.frame = CGRectMake(40.0f, 80.0f, 200.0f, 37.0f);
progressView.progress = progressvalue;
[progressAlert addSubview:progressView];
[progressAlert show];
[progressAlert release];
アラートウィンドウ消去方法
Re:アラートウィンドウ消去方法
[alert dismissWithClickedButtonIndex:0 animated:FALSE]
をいれることで消えました。
ありがとうございました。
をいれることで消えました。
ありがとうございました。