所以我正在寻找改变观点的方法。
我在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
更改为其他内容并将其更改回来。现在我得到的错误是有一个断点。我尝试从备份恢复,但它仍然给我同样的错误。
我不明白为什么。我是否必须链接到视图中的物理内容?
BTW应用程序构建得很好......加载第一个视图然后在视图加载之前崩溃
编辑:它只是说“线程1:断点1.1”
答案 0 :(得分:1)