//組封包的時候,要記得去掉\r\n,因為windows下的文件,在mac讀取時,可能會多了這些符號
NSString* trimmedBase64String = [_base64String stringByReplacingOccurrencesOfString:@" " withString:@""];
trimmedBase64String = [trimmedBase64String stringByReplacingOccurrencesOfString:@"\r" withString:@""];
trimmedBase64String = [trimmedBase64String stringByReplacingOccurrencesOfString:@"\n" withString:@""];
沒有留言:
張貼留言