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

UITextField numeric entries only

Numeric Keypad only

I am going to provide here snip for limiting a textfield to numbers only. Following code-snip will help you to enter 14 digit number like a phone number including brackets (), dash – , space and backspace.