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
UIAlertController in iOS
For iOS 8 and above Apple have introduced UIAlertController to present action Sheet and alerts.
In order to present alert set preferredStyle to UIAlertControllerStyleAlert and for actionSheet preferredStyle to UIAlertControllerStyleActionShee...
How to create a UIAlertView in swift
Hello friends , To create UIAlertView in swift ->
UIAleartView is deprecated in iOS 9,
so you need to use UIAlertController instead .
let alertController = UIAlertController(title: test alert, message: this is a test alert, preferredS...
Alert prompt on screen
Hi,
whenever you need an Alert prompt, you simply need to create an object of UIAlertView and show the object wherever alert prompt is needed.
For example -
UIAlertView *alertView= [[UIAlertView alloc] initWithTitle:@"CAUTION" message:@"m...
How to use UIAlertController for iOS8 and above.
Apple has deprecated UIAlertView in iOS 8 and above. Now they have introduce UIAlertController, below are the examples.
AlertView without buttons:-
UIAlertController * alert= [UIAlertController
alertContro...