开发者

record video programmatically on iphone

开发者 https://www.devze.com 2022-12-21 22:59 出处:网络
Is there public interface in SDK 3.* to开发者_如何转开发 start video recording programmatically? Also how can I customize camera button appearance?

Is there public interface in SDK 3.* to开发者_如何转开发 start video recording programmatically? Also how can I customize camera button appearance?

Thanks,

Nava


No you cannot do that right now. There has been some rumours that it might be possible in 3.2 though, but no idea how accurate that is.


This is very late reply!

I have written a script that you can run to record your iphone screen.

Select your iPhone or iPad manually from the list of devices in QuickTime Player and run the script you’ll see your device’s screen replicated in the QuickTime window and gets recorded.

Create a shell script and the following:

osascript <<EOD
tell application "QuickTime Player"
    activate
    start (new movie recording)
    delay 5
    tell application "System Events"
          key down {command}
          keystroke "w"
          key up {command}
          key down {command}
          keystroke "s"
          key up {command}
    end  tell
end tell
EOD 
0

精彩评论

暂无评论...
验证码 换一张
取 消