зеркало из https://github.com/xamarin/ios-samples.git
Added NSAllowsArbitraryLoads = True & Updated Image Url
This commit is contained in:
Родитель
d65ac7215b
Коммит
39418862c3
|
@ -23,5 +23,10 @@
|
|||
<string>Icon-60@2x</string>
|
||||
<string>Icon-Small-40@2x</string>
|
||||
</array>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace SimpleBackgroundTransfer {
|
|||
public partial class SimpleBackgroundTransferViewController : UIViewController {
|
||||
|
||||
const string Identifier = "com.SimpleBackgroundTransfer.BackgroundSession";
|
||||
const string DownloadUrlString = "https://atmire.com/dspace-labs3/bitstream/handle/123456789/7618/earth-map-huge.jpg";
|
||||
const string DownloadUrlString = "https://upload.wikimedia.org/wikipedia/commons/9/97/The_Earth_seen_from_Apollo_17.jpg";
|
||||
|
||||
public NSUrlSessionDownloadTask downloadTask;
|
||||
public NSUrlSession session;
|
||||
|
|
Загрузка…
Ссылка в новой задаче