0
react-native-sprite을 사용하여 앱에서 일부 png 시퀀스를 애니메이션으로 만들려고합니다. 불행히도 우리는 다음과 같은 오류가있어 우리가 응용 프로그램을 빌드 할 때 :React Native - 예상되는 인수 유형 'RCTViewManagerUIBlock
(RCTUIManager!
// Let's start with some spaghetti to get a view!
self.bridge!.uiManager.addUIBlock { (uiManager: RCTUIManager!, viewRegistry:[NSNumber : UIView]!) in
let view: Sprite = viewRegistry[reactTag] as! Sprite;
// The first parameter is not named, but the second one requires a name. Whatever!
view.createSequence(nameWithPath, count:count, format:format, duration:duration);
}
내가 반응 - 기본 목적은-C lib 디렉토리와 그 익숙하지 않다 :
다음 코드는 오류를 던지고있다.