"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Printscreen of display save to the gallery

Hello,

    on android work very well, after klik on button, then make printscreen and save to the galery "3Drealita".... but if I want build it for ios then unity alert "Assets/Scripts/ContentManager.cs(484,30): error CS0103: The name `saveToGallery' does not exist in the current context"

 

 

the code is 

 

#elif UNITY_IPHONE   while(!photoSaved)   {   photoSaved = saveToGallery(RefreshPath);   StartCoroutine(Wait(.5f));   }   UnityEngine.iOS.Device.SetNoBackupFlag(RefreshPath);   #endif } public static IEnumerator Wait(float delay) {   float pauseTarget = Time.realtimeSinceStartup + delay;   while(Time.realtimeSinceStartup < pauseTarget){    yield return null;   } }

 

please help me...

 

thank you