2

我正在开发一个 iOS 应用程序并使用 material-io 的导航抽屉。我使用示例代码,但运行时收到错误消息。

- (void) viewDidAppear:(BOOL)animated {
    MDCBottomDrawerViewController *bottomDrawerViewController = [[MDCBottomDrawerViewController alloc] init];
    bottomDrawerViewController.contentViewController = [UIViewController new];
    bottomDrawerViewController.headerViewController = [UIViewController new];
    [self presentViewController:bottomDrawerViewController animated:YES completion:nil];
}
dyld: Symbol not found: _OBJC_CLASS_$_MDCBottomDrawerViewController
Referenced from: ***
in: ***/Frameworks/MaterialComponents.framework/MaterialComponents

4

0 回答 0