在android中,当我得到错误,我得到一个com.facebook.ads.AdError类。 对于我可以检查哪些类型的错误作为发生(如NETWORK_ERROR_CODE,NO_FILL_ERROR_CODE,...)iOS FBAudienceNetwork错误代码常量
在iOS中我得到一个一般NSError对象错误的情况下,例如:
- (void)adView:(FBAdView *)adView didFailWithError:(NSError *)error;
如何检查iOS中发生了哪种错误?
我要处理的错误 这样做在Android的 如果(error.getErrorCode()== com.facebook.ads.AdError.NO_FILL_ERROR_CODE){...} – developer
但如果是观众网络错误代码? (如NO_FILL) – developer
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/index.html#//apple_ref/doc/constant_group/URL_Loading_System_Error_Codes所有可用的错误代码为URL域。 –