Capture iPhone Screen From My App and record Video

前端 未结 4 1475
庸人自扰
庸人自扰 2021-01-28 03:59

I am just curious to create an app which records video of iphone screen or capture images of iphone screen. I know that Apple doesn\'t allow such kinds of apps on the app store

相关标签:
4条回答
  • 2021-01-28 04:17

    I have done for my client who wanted. I also recorded video for Facebook screenCast for app review.

    All your need is:

    An iOS device running iOS 8 or later A Mac running OS X Yosemite or later Lightning cable (the cable that comes with iOS devices)

    No need for jailbreak, a third party app or additional hardware.

    Here are the steps to do it:

    1. Connect your iPhone or iPad to your Mac via the lightning cable
    2. Open QuickTime player
    3. Click File then select ‘New Movie Recording’
    4. A recording window will appear (with you in it, most likely). Click the little arrow of the drop down menu in front of the record button, then select your iPhone or iPad
    5. Click the Record button. Now perform the tasks on your iOS device that you want to record. AND SAVE.

    Here is the link for more ways:

    0 讨论(0)
  • 2021-01-28 04:23

    Just simply hold the power button and home button at the same time and you can see the captured screen inside your photo album.

    0 讨论(0)
  • 2021-01-28 04:26

    @Kapil.. To achieve this, privates apis can be used. But obviously, apple does not allow it. So your app will get Rejected. If you are doing this for personal use, then you can use apis like IOSurface. Hope my answer will help you.

    0 讨论(0)
  • 2021-01-28 04:28

    hi you can take screenShot using this code..

    UIGraphicsBeginImageContext(self.view.window.frame.size);
        [BackView.layer renderInContext:UIGraphicsGetCurrentContext()];
    
    UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
    
    0 讨论(0)
提交回复
热议问题