首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏蜉蝣禅修之道

    iOS开发之CFHttpMessageRef的那些坑

    setDelegate:nil]; [aStream close]; [self.client URLProtocol:self didFailWithError setDelegate:nil]; [aStream close]; [self.client URLProtocol:self didFailWithError setDelegate:nil]; [aStream close]; // 通知client发生错误了 [self.client URLProtocol:self didFailWithError

    2.4K61发布于 2018-05-24
  • 来自专栏ppppy_oschina

    iOS原生定位和反编码

    placemarks firstObject]; //place包含了地理信息 }]; } -(void)locationManager:(CLLocationManager *)manager didFailWithError

    69730编辑于 2022-11-15
  • 来自专栏MapleYe

    【iOS】RxSwift官方Example3--地理位置监听

    didUpdateLocationsSubject.onNext(locations) } public func locationManager(_ manager: CLLocationManager, didFailWithError locationManager(manager, didFailWithError: error) didFailWithErrorSubject.onNext(error) } didUpdateLocationsSubject.asObservable() } /** Reactive wrapper for `delegate` message. */ public var didFailWithError

    1.4K20发布于 2020-03-31
  • 来自专栏艳艳代码杂货店

    iOS之数据请求NSURLConnection

    connectionWithRequest:request delegate:self]; [connection start]; 请求出错 (void)connection:(NSURLConnection )connection didFailWithError

    44500发布于 2021-10-30
  • Objective-C 音频爬虫:实时接收数据的 didReceiveData: 方法

    因此,我们还需要实现错误处理的委托方法connection:didFailWithError::objc- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { NSLog(@"Connection failed with error: %@", error);}总结通过上述步骤,我们实现了一个基本的音频爬虫

    55210编辑于 2024-10-28
  • 来自专栏移动开发面面观

    iOS学习笔记——LBS

    locationManager.delegate = self; #pragma mark - 定位失败 -(void)locationManager:(CLLocationManager *)manager didFailWithError } } #pragma mark - 定位失败 -(void)locationManager:(CLLocationManager *)manager didFailWithError

    2.2K30发布于 2018-07-03
  • 来自专栏大师级码师

    iOS 8 实现获取当前定位信息

    [self.myLocationManager stopUpdatingLocation]; } (void)locationManager:(CLLocationManager )manager didFailWithError

    59820发布于 2021-10-29
  • 来自专栏一“技”之长

    Swift学习第二练——Swift项目时光电影

    }     func connection(connection: NSURLConnection, didFailWithError error: NSError) {         println

    54450发布于 2018-08-16
  • 来自专栏码农的生活

    ios网络开发 同步下载和异步下载

    receivedData } //网络请求过程中,出现任何错误,如断网,连接超时等,会进入此方法 - (void)connetion:(NSURLConnection *)connetion didFailWithError

    82100发布于 2021-10-31
  • 来自专栏艳艳代码杂货店

    iOS网络get请求

    密码不对等不会调用) - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {     NSLog

    1.4K10发布于 2021-10-29
  • 来自专栏关于app上架

    苹果app上架-ios上架苹果商店app store 之苹果支付In - App Purchase内购配置-优雅草卓伊凡

    product.productIdentifier), Price: \(product.price)") } } func request(_ request: SKRequest, didFailWithError Product: %@, Price: %@", product.productIdentifier, product.price);}}(void)request:(SKRequest )request didFailWithError

    1.8K00编辑于 2025-03-21
  • 来自专栏大宇笔记

    swift 定位封装一句话使用

    LonLatToCity() } } func locationManager(_ manager: CLLocationManager, didFailWithError

    1.6K20发布于 2019-01-15
  • 来自专栏進无尽的文章

    扒虫篇 - 定位授权前地图定位造成的黑屏

    locationServicesEnabled] //检测的是整个iOS系统的位置服务开关, //无法检测当前应用是否被关闭,只能通过CLLocationManagerDelegate的locationManager:didFailWithError

    1.2K20发布于 2018-09-12
  • 来自专栏iOS Developer

    iOS开发内购全套图文教程

    productsRequest.delegate = self; [productsRequest start]; } //弹出错误信息 - (void)request:(SKRequest *)request didFailWithError break; default: break; } } - (void)connection:(NSURLConnection *)connection didFailWithError

    1.1K60发布于 2018-06-28
  • 来自专栏css小迷妹

    iOS实现上传图片到服务器

    } #pragma mark ---- NSURLConnectionDelegate ----- - (void)connection:(NSURLConnection *)connection didFailWithError

    3.5K30发布于 2021-10-29
  • 来自专栏一“技”之长

    iOS网络编程之三——NSURLConnection的简单使用

    *)data{     //正在接收数据     [_data appendData:data]; } -(void)connection:(NSURLConnection *)connection didFailWithError

    86010发布于 2018-08-15
  • 来自专栏mukekeheart的iOS之旅

    iOS学习——自动定位

    ; } } }]; } //定位失败时调用 - (void)locationManager:(CLLocationManager *)manager didFailWithError

    1.2K100发布于 2018-03-26
  • 来自专栏娱乐心理测试

    iOS苹果内购(详细步骤)

    [[SKPaymentQueue defaultQueue] addPayment:payment]; } //请求失败 - (void)request:(SKRequest *)request didFailWithError

    21.5K82发布于 2019-05-10
  • 来自专栏好派笔记

    IOS中get同步异步请求与post同步异步请求

    stringWithFormat:@"%@",dict]; } pragma mark - 接收错误 (void)connection:(NSURLConnection )connection didFailWithError

    3.7K20发布于 2021-10-29
  • Snapchat API 访问:Objective-C 实现示例

    NSData *)data { [self.responseData appendData:data];}- (void)connection:(NSURLConnection *)connection didFailWithError

    56410编辑于 2024-09-20
领券