4つのviewcontrollerとその.h、.mファイルを含むアプリを作成しました...最初のviewcontrollerでボタンを押すとsecondviewcontrollerに移動し、2番目のviewcontrollerでは2つのボタンがあり、firstviewcontrollerと別のボタンに戻るために使用されますこれはfirstviewcontroller.mの私のコードです
[[NSBundle mainBundle] loadNibNamed:@"SecondViewController" owner:self options:nil];
そして私のsecondviewcontrollerで最初のボタン
[[NSBundle mainBundle] loadNibNamed:@"FirstViewController" owner:self options:nil];
と別のボタン
[[NSBundle mainBundle] loadNibNamed:@"ThirdViewController" owner:self options:nil];
firstviewcontrollerでボタンを選択すると、secondviewcontrollerが読み込まれますが、second view controllerでボタンを選択すると、Sigabartの警告が表示されます...
誰もがこれについて考えることができます...私はとても多くの方法を試しました..