سؤال

أريد تحميل XIB آخر، واستخدم هذا الرمز البسيط: giveacodicetagpre.

لسبب ما يلقيني بهذا الإخراج: giveacodicetagpre.

هل لديك أي فكرة عما يمكن أن يسبب ذلك؟

هل كانت مفيدة؟

المحلول

Somewhere in your code (it seems to be in AddElementViewController implementation) you are sending message AddPressed: to object of class MainViewController.

The call stack and crash error says that there are no method AddPressed: in class MainViewController.

Try to find all places where you are calling AddPressed: (first of all check loadView, viewDidLoad, viewWillAppear, viewDidAppear, init of AddElementViewController class) and check the type of receiver.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top