StoryBoard
973 ワード
コントローラがxibファイルを手動で追加
UIscroollView追加制約storyboardを使用してスキップxibバインドUIView
storyBoardのいくつかの操作https://www.jianshu.com/p/96f2afb31b8dstoryBoardの削除
#----- xib
DatedbFileTopView view.autoresizingMask = UIViewAutoresizingNone;
UIscroollView追加制約storyboardを使用してスキップxibバインドUIView
#----- StoryBoard
// storyBoard ,“Main” StoryBoard
UIStoryboard *mainStoryBoard = [UIStoryboard storyboardWithName:@"Me" bundle:nil];
// ,"SecondViewController" ID
ReceiptAddressVC *vc = [mainStoryBoard instantiateViewControllerWithIdentifier:@"ReceiptAddressVC"];
[self.navigationController pushViewController:vc animated:YES];
-#----- StoryBoard
TestViewController *testVC = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateInitialViewController];
storyBoardのいくつかの操作https://www.jianshu.com/p/96f2afb31b8dstoryBoardの削除
@IBInspectable
https://blog.csdn.net/qlt445_ndsc/article/details/51325278 xib xib