Proper understanding of 1x, 2x, 3x for iDevices

1x 2x 3x iPhone, iPad, iPod Touch display sizes

Device Type iPhone / iPod Touch iPad Scale 1x 2x 3x 1x 2x Size by Points 320 x 480 320 x 480 320 x 568 375 x 667 414 x 736 768 x 1024 768 x 1024 Size by Pixels … 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

iOS Notification Sliding Type Animation for slide up & down

iOS Notification Sliding Type Animation sugartin

Go through this video ! If you need to implement as illustrated in video, This post is for you. 1. Open your project. 2. Add a view & imageView as illustrated in following image. 3. Place them properly. 4. User … Continue reading

Detect Device Version – iPhone 2G, 3G, 3Gs, 4, 4s, iPad 1, iPad2, iPad3

sugartin iphones detect device by coding

Sometimes, Your application might need to check which device is being used by the user. For example – My App needs to track that – iPhone3G users are 120, iPhone3Gs users are 340 & iPad2 users are 100. So, I … Continue reading

Gestures Recognizers – Tap, Pinch/Zoom, Rotate, Swipe, Pan, Long Press

images

In this post I’ll shows to how to use the Gestures recognizer in IOS development.UIGestureRecognizer is an abstract class, with the following concrete subclasses, one for each type of available recognizer: UITapGestureRecognizer UIPinchGestureRecognizer UIRotationGestureRecognizer UISwipeGestureRecognizer UIPanGestureRecognizer UILongPressGestureRecognizer Depending on the … Continue reading

MultiLevel Parsing using DOM parser – TouchXML

TouchXML for Flickr API

Hello Everyone ! Using this post I am going to describe the most complicated parsing of complex XML data using TouchXML parsing method. Let’s have a brief idea. Say for example, if you have to parse following xml file. It’s … Continue reading

MultiLevel Parsing using DOM parser – TouchXML

TouchXML for Flickr API

Hello Everyone ! Using this post I am going to describe the most complicated parsing of complex XML data using TouchXML parsing method. Let’s have a brief idea. Say for example, if you have to parse following xml file. It’s … Continue reading