こんにちは、あるページでボタンを押して別のビューに接続するとエラーが発生します
よろしくお願いします!
これが私のコードです
-(void)buttonPressed:(UIButton *)button
{
NSLog(@"button %u -- frame: %@", button.tag, NSStringFromCGRect(button.frame));
[self performSegueWithIdentifier:@"WeekView" sender:self];
}
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString: @"WeekView"]){
[segue.destinationViewController setTitle:@"WeekView"];
}}
この行のこのエラー
with debugging = Signal Sigabrat start from here
[self performSegueWithIdentifier:@"WeekView" sender:self];
また、Segue で WeekView を特定し、shipt+command+K を使用してクリーンアップしますが、それでもエラーが発生します