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

Disable auto launch of iTunes / iPhoto / ImageCapture on connecting iDevice to Mac

Most of the times, when I connect my iPhone or iPad or iPod to my Mac, I am facing a problem that iPhoto & iTunes start jumping & hangs my system for few seconds. That really irritates me. Just because, … Continue reading

Debug Breakpoints, Conditions and Actions


To show how this works, let’s look at a small block of code where I’ve already set a breakpoint by clicking in the margin area on the left side in the editor:   With a breakpoint set, right click (or … Continue reading