back soft

مطالب مرتبط با «nsurlsession» در back soft | نویسنده: استخدام کار

Turn off NSURLSession related logs

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813) in youtube player

Vote count: 0 I'm using YouTube helper library to embed video in iOS app(https://github.com/youtube/youtube-ios-player-helper).I'm getting following message in console while ruing app and showing black color in youtube player view.Message is "NSURLSession/NSURLCoection HTTP load failed (kCFStreamErrorDomainSSL, -9813)".I have also enabled arbitary loads of transport security in info.plist file.Thanks in advance. asked 45 secs agoNikhil Kshirsagar Let's block ads! بخوانید...

ادامه مطلب

Set NSURLSessionDownloadTask in NSMutableDictionary

Vote count: 0 I set the NSURLSessionDownloadTask in NSMutableDictionary. Than i want to save this dictionary in NSUserDefaults. I know, i can't save custom object in NSUserDefaults. After searched, i found this answer; How to store custom objects in NSUserDefaults. But i couldn't implement to my code. Here is pard of code; [self.downloadTasksDictionary setObject:dlTask forKey:[NSString stringWithFormat:@"%@",customId]]; [[NSUserDefaults standardUserDefaults] setObject:self.downloadTasksDictionary forKey:@"DownloadTaskDict"]; [[NSUserDefaults standardUserDefaults] synchronize]; Is there any way to save this NSMutableDictionary in NSUserDefaults? Thanks. asked 22 secs agoLe'Kirdok Let's block ...

ادامه مطلب

In background NSURLSession why are secure cookies lost?

Vote count: 0 I'm developing an app that logs into a HTTPS website. After authentication, the website sends a final cookie that is marked as 'Secure'. The app works when I use defaultSessionConfiguration() for NSURLSession(). When I change one line in the app to use the backgroundSessionConfigurationWithIdentifier() then I can't proceed past the authentication stage. I do get a webpage showing that I am authenticated but subsequent requests retu the login page. It appears that the "authentication successful cookie" is not present in the shared cookie storage. This cookie is the only cookie that the website marks as "Secure". Note that this HTTPS website does all it transactions via HTTPS. TL...

ادامه مطلب

NSURLSession/NSURLConnection HTTP load failed

Vote count: 0 Hello i have made the changes in info.plist for loading the http coection still i am getting this error. I have use the google map sdk so i have include the following key in plist. NSAppTransportSecurity NSAllowsArbitraryLoads asked 3 mins agojogshardik This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

ReloadData within NSURLSession not updating table

Vote count: 0 I am trying to reload table data from a NSURLSession using the following function in Swift, but can't get it to reload into the table. All I want to do is update table with JSON data. Can get it to print on console but not update table. func get_data_from_url(url:String) { let urlPath = url guard let endpoint = NSURL(string: urlPath) else { print("Error creating endpoint");retu } let request = NSMutableURLRequest(URL:endpoint) NSURLSession.sharedSession().dataTaskWithRequest(request) { (data, response, error) -> Void in do { guard let dat = data else { throw JSONError.NoData } guard let json = try NSJSONSerialization.JSONObjectWithData(dat, options: []) as? Dictionary else { th...

ادامه مطلب

برچسب‌های مرتبط

nsurlsession/nsurlconnection load failed | nsurlsession/nsurlconnection load failed 9813 | nsurlsession/nsurlconnection load failed 9802 | nsurlsession/nsurlconnection load failed swift | nsurlsession/nsurlconnection load failed uiwebview | nsurlsession/nsurlconnection load failed (kcfstreamerrordomainssl 9802) | nsurlsession/nsurlconnection load failed in ios 9