+ (void)showModal:(UINavigationController*)parentController
{
static LoginController* sharedController;
static UINavigationController *navigationController;
if(!sharedController)
{
sharedController = [[LoginController alloc] initWithNibName:@"Login" bundle:nil modal:YES];
navigationController = [[UINavigationController alloc] initWithRootViewController:sharedController];
}
[parentController presentModalViewController:navigationController animated:YES];
}
Modal方式显示UIView
最新推荐文章于 2024-05-14 15:00:08 发布