所以我一直在寻找改变观点的方法。
我在 ViewController.m 中有这一行
NSMutableArray *items = [NSMutableArray array];
[items addObject:[SEMenuItem initWithTitle:@"Hotel" imageName:@"ks"
viewController:ks removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Restaurant" imageName:@"nh" viewController:nh removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Winery" imageName:@"qa" viewController:qa removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Dating" imageName:@"bar" viewController:bar removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Shopping" imageName:@"ba" viewController:ba removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Art" imageName:@"ck" viewController:ck removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Games" imageName:@"kar" viewController:kar removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Phamarcy" imageName:@"th" viewController:th removable:NO]];
[items addObject:[SEMenuItem initWithTitle:@"Gas station" imageName:@"tx" viewController:tx removable:NO]];
SESpringBoard *board = [SESpringBoard initWithTitle:@"Welcome" items:items launcherImage:[UIImage imageNamed:@"navbtn_home.png"]];
[primaryView addSubview:board];
[self.view addSubview:primaryView];
}
我所做的只是将其更改viewController:ks
为其他内容并将其更改回来。现在我得到一个错误,即有一个线程断点。我尝试从备份中恢复,但它仍然给我同样的错误。
我不明白为什么。我是否必须链接到视图中的物理内容?
顺便说一句,应用程序构建得很好......加载第一个视图然后在加载视图之前崩溃
编辑:它只是说“线程 1:断点 1.1”