NSCharacterSet* nonDigits =[[NSCharacterSet decimalDigitCharacterSet] invertedSet];
int remainSecond =[[jsonObject[@"message"] stringByTrimmingCharactersInSet:nonDigits] intValue];
转载于:https://my.oschina.net/wupengnash/blog/509232
NSCharacterSet* nonDigits =[[NSCharacterSet decimalDigitCharacterSet] invertedSet];
int remainSecond =[[jsonObject[@"message"] stringByTrimmingCharactersInSet:nonDigits] intValue];
转载于:https://my.oschina.net/wupengnash/blog/509232