【发布时间】:2016-10-10 15:24:41
【问题描述】:
我们使用故事板作为启动屏幕。故事板有一个视图控制器。我们将 View Controller 与实现viewDidLoad 事件的自定义类连接起来。我更改了设置,以便 xcode 将故事板作为新的启动屏幕。故事板在视觉上正确显示,但不幸的是,在应用程序启动时不会调用事件。
@implementation LaunchScreenViewController
- (void)viewDidLoad {
[super viewDidLoad];
// this is not called
}
我们想实现一个视频作为启动屏幕(灵感来自 github 上的 project)。 View Controller 也被设置为初始 View Controller。是否与阻止事件的 React Native 发生冲突?
【问题讨论】:
标签: ios objective-c xcode reactjs react-native