I integrated facebook api in project. I am getting this warning message in its code. Here is the code details.
FBXMLHandler* handler = [[[FBXMLHandler alloc] init] autorelease];
NSXMLParser* parser = [[[NSXMLParser alloc] initWithData:data] autorelease];
parser.delegate = handler ; // Warning message is occurring here
// waning message= class FBXMLHandler does not implement the NSXMLParserDelegate protocol //
[parser parse];
How will I remove this warning message “class FBXMLHandler does not implement the NSXMLParserDelegate protocol” from the above code.
According to this GitHub issue you may be using the wrong Facebook SDK.
The official & supported one is located here.
The subtle difference is the old, deprecated one is called
facebook-iphone-sdkwhilst the new, officially supported one is calledfacebook-ios-sdk