تعطل البرنامج عند محاولة تقديم وحدة تحكم عرض مشروط
-
11-12-2019 - |
سؤال
أريد تحميل 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.
لا تنتمي إلى StackOverflow