我正在尝试在SpriteKit中播放摄像机胶卷中的视频。视频将从主包中播放,并且视频选取器也可以工作,直到我选择视频为止。我想我锁定了主线程,因为在选择视频时,选择器会冻结。非常感谢您的帮助。.h#import "GameViewController.h"[self addChild:videoNode1];
play
UIImagePickerControllerSourceType)sourceType
if (self.imageView.isAnimating) [self.imageView stopAnimating];imagePickerController.modalPresentationStyle