iOS7 OTA Distrubution over HTTPS

Step 1. Archive your project (Make sure you’ve archived project with distribution certificates & provisioning profiles) Step 2. Click on ‘Distribute’ button. Step 3. Choose ‘Save for Ad-hoc Distribution’. Step 4. Choose appropriate provisioning profile for distribution. Step 5. Make … Continue reading

Hiding Menu on appear in UIWebView/UITextView/UITextField

sugartin hide UIMenu on appear 2

Hi All ! Sometimes, Developer may want to restrict users to copy some data from their app. Most of the time, for displaying rich-media-contents, developers use UIWebView. But UIWebView comes with default behaviors. We eliminated one of the default behavior … Continue reading

Avoid/Disable default ActionSheet for Open,Copy from a UIWebview

sugartin uiwebview avoid actionsheet for actions

Just check following image. So, while displaying contents in a UIWebView, you may face above problem for hyperlinks. By long pressing over a hyper-link, by default UIWebView will display such action-sheet for providing above actions to user. In most of … Continue reading

Handle Tap On UILabel event / UIGesture on UILabel


Step 1. Add UILabel dynamically or using interface builder into your view. Step 2. Put following lines of code for handling Tap On UILabel.

Using TouchXML for XML having Custom XMLNS

sugartin xml parsing touchxml xmlns custom

Yes ! TouchXML would not be able to trigger XPath queries when XMLs have custom name-spaces. ( XMLNS – xml name-spaces ) Here is the sample XML which has custom name-space.

So, For parsing such data if you try … Continue reading

Simple RSS reader and parse them display into UITableview

With this I’m assuming you have a bit of familiarity with the iPhone SDK.We’re going to build an RSS feed reader for a simple feed.Let’s get started step 1: Open Xcode and choose the “File” menu, in which you’ll click … Continue reading

ImagePageControll – Building a PageControll With images


Using this post I am going to describe “How to build a ImagePageControll” with the help of UIScrollView and HJManagedImageView. Here is an example of output of it. Let’s have a quick look of that. Step 1. Implement HJCaching into … Continue reading