How to Save ReplayKit Video to Camera Roll with In-App Button

前端 未结 4 1866
自闭症患者
自闭症患者 2021-02-04 02:50

I am relatively new to iOS development and Swift but I have an app I\'m working on which is supposed to record the activity on the screen and save the resulting video to the cam

4条回答
  •  鱼传尺愫
    2021-02-04 03:32

    I am running into an error, when it hits:

    self.videoWriterInput.markAsFinished();
    

    It is giving me :

    -[AVAssetWriterInput markAsFinished] Cannot call method when status is 0

提交回复
热议问题