# iOS AR in app screenshot

**URL:** <https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956>\
**Category:** Blueprint\
**Tags:** unreal-engine, iphone, Augmented-Reality, UE4, Blueprint, question\
**Created:** [November 7, 2017, 2:04pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956 "2017-11-07T14:04:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_6b6f9c72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6b6f9c72](https://forums.unrealengine.com/u/anonymous_user_6b6f9c72)\
**Post date:** [November 7, 2017, 2:04pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/1 "2017-11-07T14:04:40Z")

</div>

I’m using the latest version of unreal engine and an iPhone 7 to test on. I don’t code.

I’ve managed, using a number of tutorials to create an augmented reality iPhone app that puts objects into the scene. I’ve created a button and now I’d like that button to take a screenshot and save it to the camera roll.

The only thing I can find on the subjects was here:

> **[Screenshot on ios don't show in IPad gallery](https://forums.unrealengine.com/questions/393721/screenshot-on-ios-dont-show-in-ipad-gallery.html)**
>
> hi, i need to make a button to make screenshot on ipad, so it will be wisible in device album. for now i make screenshot by execute command "shot, but it save it in game directory, so it is not visible in album is there a possibility to make it in...

It really hasn’t helped me very much. Does anyone know how to do this?  
Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6b6f9c72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6b6f9c72](https://forums.unrealengine.com/u/anonymous_user_6b6f9c72)\
**Post date:** [December 5, 2017, 1:55am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/2 "2017-12-05T01:55:12Z")

</div>

I’m surprised no one else would like to know how to do this. Jump on board if you would!!. Im sure some brainiac must be able to figure it out 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6b6f9c72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6b6f9c72](https://forums.unrealengine.com/u/anonymous_user_6b6f9c72)\
**Post date:** [December 22, 2017, 11:06am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/3 "2017-12-22T11:06:22Z")

</div>

Anyone got this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9dc39b42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9dc39b42](https://forums.unrealengine.com/u/anonymous_user_9dc39b42)\
**Post date:** [December 29, 2017, 2:14am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/4 "2017-12-29T02:14:21Z")

</div>

Remember to change your boot options in .sln!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9dc39b42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9dc39b42](https://forums.unrealengine.com/u/anonymous_user_9dc39b42)\
**Post date:** [December 29, 2017, 2:08pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/5 "2017-12-29T14:08:26Z")

</div>

[https://github.com/getsetgames/Sharing---------](https://github.com/getsetgames/Sharing---------)  
Decompress it at (GameRoot)/Plugins----------  
Generate ur game project----------  
Open .sln and run----------  
You can add screenshot component and share component in your blueprint.------------------------------  
Use take screen shot or take screen shot in album

 ![225340-qq截图20171229100821.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/a/f6a75bf9e9ee535abbdf806f926fb6dc164398de.png)

---

<div class="post-metadata">

**Author:** ![mrday](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mrday](https://forums.unrealengine.com/u/mrday)\
**Post date:** [January 11, 2018, 10:42am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/6 "2018-01-11T10:42:36Z")

</div>

I downloaded the library on 4.18, after I enabled the getset plugin, using “screenshot” component, I cannot find any method named “take screen shot”

 ![226683-screenshot-pic.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/1/f31ece0e857335da810ac01949c7db90fa9f3cd9.jpeg)

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [May 23, 2018, 6:16am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/7 "2018-05-23T06:16:34Z")

</div>

How did you guys manage to get that plugin working for 4.18?

I always get “try rebuilding from source manually” when following the steps above ☹

EDIT:  
OK I got it working by making sure the same .h file was always included first in each cpp file.

figured out how to get the functionality working as well. You need to do a normal screenshot using the “SHOT” command and then the screenshot events are triggered that you can pass the image through to the Share function

I will commit this as a pull request in the near future

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c120ce39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c120ce39](https://forums.unrealengine.com/u/anonymous_user_c120ce39)\
**Post date:** [August 21, 2018, 10:08am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/8 "2018-08-21T10:08:28Z")

</div>

Sorry can you explain that a bit more (making sure the same .h was always included first in each cpp file). I’m getting the same error of “try rebuilding from source manually”. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [August 21, 2018, 3:08pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/9 "2018-08-21T15:08:33Z")

</div>

Check out my pull request for the plugin:

[https://github.com/getsetgames/Sharing/pulls](https://github.com/getsetgames/Sharing/pulls)

Has all the changes in it to make it work with 4.19

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c120ce39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c120ce39](https://forums.unrealengine.com/u/anonymous_user_c120ce39)\
**Post date:** [August 22, 2018, 12:58pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/10 "2018-08-22T12:58:06Z")

</div>

Awesome, thanks for the reply 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c120ce39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c120ce39](https://forums.unrealengine.com/u/anonymous_user_c120ce39)\
**Post date:** [August 29, 2018, 2:22pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/11 "2018-08-29T14:22:12Z")

</div>

Hi so I’m still getting the same error for rebuilding from source manually. I’ve tried Googling several different solutions to no avail. Some people have suggested creating a local plugin folder inside where my project file is?

Would you be able to break down some simple steps as to getting this installed and I can see where I might be going wrong?

So far I’ve placed it into the plugins folder for my version (4.18 for this particular project) and have enabled the plugin within my project. This then prompts the engine to restart and that is when I begin getting rebuild requests.

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [August 30, 2018, 12:33pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/12 "2018-08-30T12:33:01Z")

</div>

Ah you need the basic 3rd party project plugin setup steps you do not add this to your Unreal engine but rather to your project 🙂  
FYI: I’m not sure if my pull request version will work with 4.18 you might need to goto 4.19

1. Open UE4.19
2. Create new blank C++ project (note: It is only temporary project and it must be a C++ to get it to compile for your engine version. You can later use this for Blueprint projects though so don’t worry)
3. create a Plugins folder in the project directory
4. Copy plugin content into this folder (so {projectFolder}/Plugins/Sharing )
5. Reopen the project
6. When it asks to rebuild the plugin for this version of the engine press “Yes”
7. After it rebuilds and the project open successfully you now have a compiled version of the plugin for that version of Unreal that you can use for other non-C++ projects.
8. Copy the Plugins folder to your blueprint project - it should open without any warnings
9. You can now use the plugin as per the instructions in the updated readme in the pull request.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c120ce39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c120ce39](https://forums.unrealengine.com/u/anonymous_user_c120ce39)\
**Post date:** [August 30, 2018, 12:35pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/13 "2018-08-30T12:35:26Z")

</div>

Thanks so much for both the pull and these steps, really appreciate it. I’ll give it a go in 4.19 in a separate project and see if it helps.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c120ce39](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c120ce39](https://forums.unrealengine.com/u/anonymous_user_c120ce39)\
**Post date:** [September 3, 2018, 10:32am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/14 "2018-09-03T10:32:51Z")

</div>

Just wanted to provide an update after all your help. Managed to get the plugin going in 4.19, but I’m intrigued to attempt in 4.18 still just to see if I can avoid updating my project version, so I’ll let you know if that works this time round using these instructions.

For someone who has never used a plugin, my advice for anyone following these instructions is to make sure you check your Project Plugin section! (It’s found at the bottom of the plugin scroll bar and if you don’t check there, it’ll look like nothing has happened!)

_EDIT_ Has also built in 4.18 using the same method 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_204f068d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_204f068d1](https://forums.unrealengine.com/u/anonymous_user_204f068d1)\
**Post date:** [September 14, 2018, 6:39am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/15 "2018-09-14T06:39:01Z")

</div>

Hi there,

I clicked on the link but how to download all the scripts ?

sorry for my ignorance. I am a noob and no coder.

Thank you

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [September 15, 2018, 6:32pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/16 "2018-09-15T18:32:42Z")

</div>

To download the plugin you must connect your Epic account to github. See: [Unreal Engine 4 on GitHub - Unreal Engine](https://www.unrealengine.com/en-US/ue4-on-github)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_204f068d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_204f068d1](https://forums.unrealengine.com/u/anonymous_user_204f068d1)\
**Post date:** [September 18, 2018, 3:54am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/17 "2018-09-18T03:54:10Z")

</div>

Thank you for the replied.

for your info, I had already registered and link my epic account to github.

I only see the “clone and download” button in the CODE tab. but it only available with older version 4.16 and before

in the PULL tab, I do not see the download button ?

do I have to download the 4.16 version from the CODE tab and then manually edit the code like the PULL tab contents ?

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [September 18, 2018, 9:16am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/18 "2018-09-18T09:16:17Z")

</div>

Yeah right you need to copy the code over until the maintainer accepts the code changes.

Alternatively I’ve shared my versions of the plugin here:

4.19: [https://uploadfiles.io/9ccqm](https://uploadfiles.io/9ccqm)  
4.20: [https://ufile.io/o2fas](https://ufile.io/o2fas)

Note: these links are available for 30 days only.  
Note2: I renamed the plugin to iosSharing as I was using an sharing plugin with the same name.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_204f068d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_204f068d1](https://forums.unrealengine.com/u/anonymous_user_204f068d1)\
**Post date:** [September 18, 2018, 9:26am UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/19 "2018-09-18T09:26:21Z")

</div>

Understood.

and thank you very much for your patient and kindness.

---

<div class="post-metadata">

**Author:** ![Skinzart](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skinzart](https://forums.unrealengine.com/u/Skinzart)\
**Post date:** [September 20, 2018, 2:17pm UTC](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956/20 "2018-09-20T14:17:02Z")

</div>

i’m trying to package the project base on unreal 4.20… but some errors occurred, did you get the same problem?

/Users/skinzart/UE4/Builds/SKINZARTPC/D/Documents/Unreal Projects/KaeroAR\_Project/Plugins/iosSharing/Source/iosSharing/Private/iosSharingFunctions.cpp(9,9): fatal error: ‘ **IOSAppDelegate.h** ’ file not found

[Next page](https://forums.unrealengine.com/t/ios-ar-in-app-screenshot/408956.md?page=2)
