강의

멘토링

커뮤니티

Inflearn Community Q&A

csnvshs3935's profile image
csnvshs3935

asked

iOS SwiftUI AR Augmented Reality

Create a Video Button

RPScreenRecorder init() is unavailable in iOS

Written on

·

365

0

VideoButton Coordinator 클래스를 작성 중인데, init이 사용불가라고 나오면서 컴파일이 되지 않습니다. 어떻게 해야 하나요??

VR/ARiosSwiftUI

Answer 2

1

csnvshs3935님의 프로필 이미지
csnvshs3935
Questioner

위 스크린샷처럼 해서 비디오 녹화 정상 작동 확인 하였습니다.

혹 잘못된 부분 있다면 댓글 부탁드립니다.

감사합니다.

1. Coordinator 상속을 NSObject로 변경

2. Coordinator init 함수 및 관련 변수 삭제

3. Coordinator 생성자 매개변수 없이 호출

0

cmieux님의 프로필 이미지
cmieux
Instructor

안녕하세요,

네 맞습니다. 잘 해결하셨네요. ^^ 저도 아래와 같이 수정 하였습니다.

csnvshs3935's profile image
csnvshs3935

asked

Ask a question