1.界面提示语,当我们要完成一个事件时要与用户进行交互时就要用到提示语;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"提示" message:@"恭喜您,中大奖了→_→ !收藏成功!"delegate:nil
cancelButtonTitle:@"好的" otherButtonTitles:nil,nil];
[alert show];
[alert release];
2.模态界面方法ModolViewController *mod = [[ModolViewController alloc] initWithNibName:nil bundle:nil];
//UINavigationController *nav = [[ [UINavigationController alloc] initWithRootViewController:mod] autorelease];
[self.navigationController presentViewController:mod animated:YES completion:^{
}];
//[self.navigationController presentModalViewController:nav animated:YES];
[mod release];