ThirdParty.iOS4Unity.UIImage.FromFile C# (CSharp) Method

FromFile() public static method

public static FromFile ( string filename ) : UIImage
filename string
return UIImage
        public static UIImage FromFile(string filename)
        {
#if !XAMARIN
            filename = Path.Combine(UnityEngine.Application.streamingAssetsPath, filename);
#endif

            return Runtime.GetNSObject<UIImage>(ObjC.MessageSendIntPtr(_classHandle, Selector.GetHandle("imageWithContentsOfFile:"), filename));
        }