Featured
-
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi -
Make UIImage White Background Transparent in iOS
If you came across to a requirement where you want
by ashish.nakoti -
User's location update on server when app is in background.
Code for those Apps where we need to update user's
by ashish.nakoti -
Animate button with zoom and bounce effect in ios
Many social apps are using bouncing effect for but
by ashish.nakoti -
Crop an image from UIImageView
With the following method stated below you can cro
by kuldeep.butola
Tags
Left padding to the TextField
Whenever we use TextField then bydefault we don't get front space. Sometimes we want that our text should start after some gap so in that case we can use padding. In padding we can give space according to our need. There are two types of padd...
How to add and access TextField in UIAlertController ?
The following code will show the Alert with textField :-
UIAlertController *alert=[UIAlertController alertControllerWithTitle:@"Alert Title" message:nil preferredStyle:UIAlertControllerStyleAlert];
// to add textField
[aler...
Changing TextField Placeholder Color
Hello friends,
We may change the text field placeholder color using either storyboard or using code.
Using Storyboard:
Choose the text field and under textfield runtime attributes click on the '+' button and add a key:
_placeholderLab...
How to Change the Font and Color of UITextField's Placeholder
Hi Readers,
Below are two simple lines you need to add to your code for changing the font and color of the UITextField's Placeholder.
_txttest.font = [UIFont fontWithName:@"HelveticaNeue-Thin" size:30.0f];
_txttest.attribut...