NSString *mob = (__bridge_transfer NSString *)ABMultiValueCopyValueAtIndex(mobNum, emailCounter);
mob = [ApplicationSingleton FindMobileNumber:mob];
if ([favos rangeOfString:mob].location != NSNotFound)
it gives below message when checking for memory leaks...
the receiver of message "rangeOfString:" is nil and returns a value of type NSRange that will be garbage
can anyone please help me... Thanks in advance...
It seems that favos
is nil. Make sure that the variable is set in all code paths, or check it for nil.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.