Tutorial details

Creating an Alert | App Code for Sale | Preview

Creating an Alert | iOS Tutorial

How to create an alert

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodealert.htm

In this tutorial i will be showing you how to create an alert


  • 1 round rect button

An alert works by simply pressing a round rect button and a message will appear in the centre of the screen the same as when you receive a text message, but the the text you set will appear. Used for giving the user info on the app or instructions

ViewController.h PAGE TOP

@interface ViewController :UIViewController {

ViewController.m PAGE TOP

@implementation ViewController
-(IBAction)alert {
UIAlertView *alert = [[UIAlertViewalloc]
message:@"the message"
[alert show];
[alert release];

Reference PAGE TOP


0 Comments Leave a comment

Please login in order to leave a comment.

Newest first

to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.