UIImage

iPhone Development: Create a grid of buttons using UIScrollView

Creating a grid of buttons or images in iPhone app is a common requirement now day’s. The problem I am talking about is shown in given below image To achieve this requirement, we have various approaches 1) Use UITableView 2) Use UICollectionView 3) Create your own grid layout using UIImageView or UIButton(If you want to […]

iPhone Development: Create a grid of buttons using UIScrollView Read More »

iPhone Development: Convert image into base64 string

Need to post image to server from your iPhone app, and your server guy who wrote down the PHP script asked you to send image as base64 String.In iPhone we can convert an image to base64 string using below pesudocode -(NSString *)Base64Encode:(NSData *)data {     //Point to start of the data and set buffer sizes

iPhone Development: Convert image into base64 string Read More »