Prevent iPhone from Sleeping

4b27347123d470cf1a5dcfb4f60b51c6

The automatic sleep timer is one of the ways the iPhone saves power. If the screen isn’t touched for a certain amount of time, it dims the screen and eventually turns it off. Although you should leave the timer on, … Continue reading

Validate Credit card number over your Application

XCode

In this tutorial i describe the how to validate the credit/debit card holder like (Master card,visa card etc).in the most cases every time call to server for checking the number rather then validate using implementation of  Luhn Algorithm for validating the … Continue reading

Custom Range Slider Component to Pick Range

appstoreiconbig

In this tutorial, I will describe the two sliders were used to configure the minimum and maximum parameters of a setting. In most of the cases, Application may need to select data between some values for that extended features use and … 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

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

Locally Store/Retrive the data into NSUserDefaults

4b27347123d470cf1a5dcfb4f60b51c6

NSUserDefaults class, you can save settings and properties related to application or user data.I will be showing you how you can save and retrieve different types of data using the NSUserDefaults object. I will be showing you how you can save and retrieve … Continue reading

Scale and Rotate image while capture the image in iphone Device

Scale and Rotate while capturing from iPhone - 2

Hello All, In a IOS development so many time issues like when we capture the image from Device, some time capture photo automatically converted into the landscape and doesn’t show good so creating post for the when capture the image … Continue reading

Scale and Rotate image while capture the image in iphone Device

Scale and Rotate while capturing from iPhone - 2

Hello All, In a IOS development so many time issues like when we capture the image from Device, some time capture photo automatically converted into the landscape and doesn’t show good so creating post for the when capture the image … Continue reading