# Screenshot on ios don't show in IPad gallery

**URL:** <https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601>\
**Category:** Blueprint\
**Tags:** unreal-engine, iOS, Blueprint, question\
**Created:** [March 24, 2016, 9:51am UTC](https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601 "2016-03-24T09:51:36Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![WindyStrife](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WindyStrife](https://forums.unrealengine.com/u/WindyStrife)\
**Post date:** [December 16, 2017, 6:15am UTC](https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601/21 "2017-12-16T06:15:42Z")

</div>

i can complie with this, but when i package it, it shows me message “cannot find interface declaration for ‘Screenshooter’”  
Anyone helps???

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_eed7b587](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_eed7b587](https://forums.unrealengine.com/u/anonymous_user_eed7b587)\
**Post date:** [February 5, 2018, 7:15am UTC](https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601/22 "2018-02-05T07:15:55Z")

</div>

Got the same issue - any solution?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a333a4c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a333a4c](https://forums.unrealengine.com/u/anonymous_user_2a333a4c)\
**Post date:** [October 1, 2019, 8:48am UTC](https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601/23 "2019-10-01T08:48:30Z")

</div>

I know this post is bit old, but helped me a lot (thanks to andreischwingel 😃 )

I just had to change some points in your code, so the objective-c ios code works. If anyone stumbles over this post with the same issue, here my solution:

At first I didn’t made an extra actor just put the code in an custom Gameinstance h and cpp file, so you could use the methods all over your project just getting the gameinstance and casting it to your blueprint made with the cpp class as parent.

1. Make a cpp Class of the Gameinstance and add the following before the class declaration, at best after ‘# pragma one’ and before your other includes:

2. after class declaration

add

```
    public:
    UFUNCTION(BlueprintCallable, Category = "Screenshooter")
    		bool IsScreenshotDone(FString savePath);
    
    	UFUNCTION(BlueprintCallable, Category = "Screenshooter")
    		FString RequestNewScreenshot();
    
    //I didn't used the deleteimagemethod
    	//UFUNCTION(BlueprintCallable, Category = "Screenshooter")
    	//	void DeleteCurrentImage();
    
    	UFUNCTION(BlueprintCallable, Category = "Screenshooter")
    		void SaveNativeScreenshot();

```

1. in the gameinstance.cpp add following:

2. in your blueprints make a method in your gameinstance\_bp

 ![288894-gi-bp-screenshot.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/5/8a5606aee6140b76981fc1abf4d857ad1f7d6229.png)

and for example call it this way from a umg widget

 ![288897-umg-example-screenshot-call.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/a/c2ab009c65970929d84ae834d94e4389693cb827.png)

Hope anyone can use this.

Regards.

---

<div class="post-metadata">

**Author:** ![UmangMamtora](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UmangMamtora](https://forums.unrealengine.com/u/UmangMamtora)\
**Post date:** [February 5, 2024, 10:40am UTC](https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601/24 "2024-02-05T10:40:02Z")

</div>

Your code worked for me like a charm…

Thank you so much… 🙂

[Previous page](https://forums.unrealengine.com/t/screenshot-on-ios-dont-show-in-ipad-gallery/351601.md?page=1)
