I try to convert my png image to base64 string.
But I use my output base64 string in consolog and paste to online tool website.
It just show the top of image, not complete image.
What's wrong with my code?
UIImage *uiImageInstance = [[UIImage alloc] initWithContentsOfFile: filePath];
NSData *data = UIImagePNGRepresentation(uiImageInstance);
NSString *base64Str = [data base64EncodedStringWithOptions:NSDataBase64Encoding64CharacterLineLength];
NSLog(@"base64Str : %@", base64Str);