Category: Mobile

0

Convert Image to Base64 string in iOS

Swift //create image instance //with image name from bundle var image : UIImage = UIImage(named:”imageNameHere”) var imageData = UIImagePNGRepresentation(image) //OR with path var url:NSURL = NSURL.URLWithString(“urlHere”) var imageData:NSData...