Implement keywords method from the Adwhirl delegate. AdmobGoogleAdsense adaptor
crashes.
Issue is the in the following line of code. Delegate expects a string to be
returned by adaptor is assuming a nsarray -
Original
if ((value = [self delegateValueForSelector:@selector(keywords)])) {
request.keywords = [NSMutableArray arrayWithArray:(NSArray*)value];
}
Fixed ---
if ((value = [self delegateValueForSelector:@selector(keywords)])) {
request.keywords = [NSMutableArray arrayWithArray:[(NSString*)value componentsSeparatedByString:@","]];
}
Original issue reported on code.google.com by aagarwa...@gmail.com on 12 Jul 2011 at 11:03
Original issue reported on code.google.com by
aagarwa...@gmail.com
on 12 Jul 2011 at 11:03