mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-31 23:45:39 +00:00
Ajustements iOS
This commit is contained in:
parent
cf275c0493
commit
cfdea61926
2 changed files with 3 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ namespace AideDeJeu.iOS
|
|||
|
||||
void LoadFile(string fileName)
|
||||
{
|
||||
string filePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), string.Format("pdf/{0}", WebUtility.UrlEncode(fileName)));
|
||||
string filePath = Path.Combine(Xamarin.Essentials.FileSystem.CacheDirectory, string.Format("pdf/{0}", WebUtility.UrlEncode(fileName)));
|
||||
Control.LoadRequest(new NSUrlRequest(new NSUrl(filePath, false)));
|
||||
Control.ScalesPageToFit = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue