Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不断收到错误:尝试初始化控制器时未初始化常量 EKEventEditViewController (NameError)。
controller = EKEventEditViewController.alloc.init
我是否需要任何特定的框架才能使用此控制器?
EKEventEditViewController在EventKitUI框架中声明。
EKEventEditViewController
EventKitUI
因此,您需要将该框架包含在您的Rakefile:
Rakefile
app.frameworks << 'EventKitUI'