>通过storyboard创建
>直接创建
YTViewController *yt = [[YTViewController alloc]init];
>指定xib文件来创建
YTViewController *yt = [[YTViewController alloc]initWithNibName:@"YTViewController" bundle:nil];
时间: 2024-10-14 18:32:20
>通过storyboard创建
>直接创建
YTViewController *yt = [[YTViewController alloc]init];
>指定xib文件来创建
YTViewController *yt = [[YTViewController alloc]initWithNibName:@"YTViewController" bundle:nil];