hello, so i have a button to save screenshot for the current scene to the gallery, i need code to implement that in an ios devices please help me i'll appreciate it.
Definitely start with any of the thousands of videos on this topic. This is extremely well-covered ground, no need for anyone here to retype it all!
as kurt already pointed out a google search does half the work. I came out on this: https://assetstore.unity.com/packages/tools/integration/native-gallery-for-android-ios-112630
Did you read the FAQ and do 100% of all the items required? . Manual Setup for iOS - set the value of ENABLED to false in NGPostProcessBuild.cs - build your project - enter a Photo Library Usage Description to Info.plist in Xcode - also enter a "Photo Library Additions Usage Description" to Info.plist in Xcode, if exists - set Info.plist's "Prevent limited photos access alert" property's value to 1 in Xcode, if exists - insert "-weak_framework PhotosUI -weak_framework Photos -framework AssetsLibrary -framework MobileCoreServices -framework ImageIO" to the "Other Linker Flags" of Unity-iPhone Target (if your Deployment Target is at least 8.0, it is sufficient to insert "-weak_framework PhotosUI -framework Photos -framework MobileCoreServices -framework ImageIO") - lastly, remove Photos.framework and PhotosUI.framework from Link Binary With Libraries of Unity-iPhone Target in Build Phases, if exists