Show a main window message box

Alert View will automatically adjust for landscape orientation

		UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"The username and password entered are not valid"

Show A Message Box

If ActionSheet doesn't auto adjust for landscape orientation check the following:-

[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLand scapeRight];

needed in applicationDidFinishLaunching?
Supported interface orientations set to landscape in the app plist file?

Using ActionSheet

	UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"A Message To Display"
	[actionSheet showInView:[[self view] window]];
	[actionSheet autorelease];

OK Cancel Message Box

In your method that want's to show the action box

	UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"A Message To Display"
	[actionSheet showInView:self.view];
Add the delegate to the classes @interface

@interface #ViewController_iPhone : UIViewController
Add the delegate method

//********** ACTION SHEET DELEGATE **********
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
	// the user clicked one of the OK/Cancel buttons
	if (buttonIndex == [actionSheet destructiveButtonIndex])
		//----- CLICKED OK -----

	else if (buttonIndex == [actionSheet cancelButtonIndex])
		//----- CLICKED CANCEL -----


Multiple Buttons

	UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"A Message To Display"
	[actionSheet showInView:self.view];

In the actionSheet delegate the buttonIndex starts from 0 being the top most button. If there is a destructiveButtonTitle then this is 0 otherwise it is the first otherButtonTitle.

Useful resources

Creating an about box

We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.

Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.


  1. fix my computer

    There are actually some intriguing points in time in this post but I do not know if I see all of them center to heart. There is some validity but I will take hold opinion until I appear into it further. Great write-up , thanks and we want more!

  2. tips to lose weight

    Thanks for another fantastic article. Where else could anybody get that kind of info in such an ideal way of writing? I have a presentation next week, and I’m on the look for such information.

  3. sweat hollister xxl

    Le plus r茅cent film de Martin Scorsese, "Le Loup de Wall Street禄, est en bonne voie d’锚tre dans le noir, ratisser chez 63 millions de dollars depuis son ouverture No毛l. Mais les trois heures de sexe, la drogue et les mauvais comportements aliment茅 film a cin茅philes voient rouge gr芒ce 脿 son contenu brut et nombre record de rupture de jurons.

  4. comfortable flats

    I am curious to find out what blog system you have been utilizing? I’m having some small security issues with my latest site and I’d like to find something more risk-free. Do you have any recommendations?

  5. Malcom Courchine

    whoah this blog is excellent i love reading your articles. Keep up the good work! You know, a lot of people are looking around for this information, you can aid them greatly.

  6. Kaycee Loeser

    Thank you, I’ve just been looking for info about this topic for a while and yours is the best I have found out so far. But, what concerning the bottom line? Are you certain concerning the supply?

  7. louboutin homme homme fleur

    脢tre avec vos amis dans un cadre social confortable est un excellent moyen de vous faire terrible 脿 r茅soudre les probl猫mes. C’est la m锚me chose que les gens du matin font de leur mieux le travail de nuit. sur votre troisi猫me tranche de pizza froide avec une salle pleine de gens qui se demandent ce qu’il faut faire pour obtenir John Lennon cesse d’锚tre une telle bite.

  8. new timberland pro boots

    The induction ceremony will be held on Sunday, October 6, at the Boathouse in Wichita. The eight person class raises the total number of inductees to 227 in the Kansas Sports Hall of Fame, which is celebrating its 52nd anniversary this year.

  9. nike mercurial vapor ix fg soccer cleats white reflective pack

    What their research found was that tenure based rewards systems have virtually no impact on organizational performance. It turns out that many of these tenure based rewards programs are really legacy programs from the turn of the century when labor unions forced management to give employees awards and hourly raises for tenure. Most large companies still have these programs today, yet only 58% of employees even know such programs exist. So for the most part they aren creating much value.

  10. toms zappos nike shoes

    and people who study lottery numbers think That blackberries are winning ones Likely to be random than contrived. You can search all day for the answer to i want to win the lottery. Before i teach you to

  11. prada amber eau de parfum

    MAURO NUMA, che quando parla sembra un pentolone e invece in pedana una saetta, il nostro numero 1: poi Cerioni, alto, possente e travolgente; poi Scuri, piccolo, agile e guizzante; infine Borella, qui in carne ed ossa ma il campione era rimasto a casa. Nelle parole di Andrea Borella (4 incontri, 4 sconfitte), la chiave del successo: “Non ho mai pensato di farmi sostituire, primo perch non ritenevo giusto scaricare le responsabilit mie su Cipressa (la riserva, ndr) e in secondo luogo perch avrei completamente rovinato il morale della squadra. Sono rimasto per dimostrare ai miei compagni che, nonostante tutto, ero l con loro, che non mollavo”. (.)

  12. MK Bags Factory Outlet Houston Online

    Yesterday, while I was at work, my sister stole my iphone and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!

  13. Ralph Lauren Norge

    I’m not sure where you’re getting your info, but great topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic info I was looking for this information for my mission.

  14. Ralph Lauren Polo Shirts Sale

    Nice post. I was checking continuously this weblog and I am impressed! Extremely helpful info particularly the last section :) I maintain such information a lot. I used to be seeking this certain info for a very long time. Thank you and best of luck.

  15. magasin hollister strasbourg rivetoile

    Why did nobody bother to find out his name? The very fact that he had a mulberry coloured birthmark meant that he was noticed but nobody asked him for his name. Perhaps the fact that he had a birthmark somehow lessened his importance to the other boys, his disability somehow made him invisible. I suppose that he is an example of societies atitude towards disability.

  16. Nike Free Run 2 Pas Cher

    Hmm it appears like your website ate my first comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to everything. Do you have any tips and hints for newbie blog writers? I’d definitely appreciate it.

  17. Michael Kors Jet Set Tote

    I’m amazed, I have to admit. Rarely do I encounter a blog that’s both equally educative and amusing, and let me tell you, you have hit the nail on the head. The issue is an issue that not enough men and women are speaking intelligently about. I am very happy I found this during my search for something concerning this.


    Hello, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam remarks? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any support is very much appreciated.

  19. Nike Air Max

    Definitely believe that which you said. Your favorite justification appeared to be on the web the simplest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they just don’t know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks|

  20. Cheap Free Run Australia

    Hi great blog! Does running a blog like this take a great deal of work? I’ve absolutely no knowledge of programming however I had been hoping to start my own blog in the near future. Anyway, if you have any recommendations or tips for new blog owners please share. I understand this is off subject however I just wanted to ask. Cheers!

  21. Nike Air Max Billige

    Howdy! This post could not be written any better! Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Fairly certain he will have a good read. Thank you for sharing!

  22. Cherise Waneka

    There are definitely plenty of particulars like that to take into consideration. That is a nice point to carry up. I supply the thoughts above as common inspiration however clearly there are questions just like the one you deliver up where crucial thing will probably be working in sincere good faith. I don?t know if best practices have emerged around things like that, but I am certain that your job is clearly identified as a good game. Each boys and girls feel the affect of only a second’s pleasure, for the rest of their lives.


    I think everything posted was actually very reasonable. However, think on this, suppose you composed a catchier post title? I ain’t suggesting your information isn’t solid, however what if you added a headline to possibly grab people’s attention? I mean %BLOG_TITLE% is kinda vanilla. You could peek at Yahoo’s front page and see how they write post titles to grab viewers to open the links. You might try adding a video or a picture or two to grab readers interested about everything’ve got to say. Just my opinion, it might make your website a little bit more interesting.

  24. Ralph Lauren Canvas Shoes

    You actually make it appear really easy together with your presentation however I find this topic to be really one thing that I think I might never understand. It kind of feels too complicated and extremely vast for me. I am taking a look forward in your subsequent post, I will try to get the cling of it!

  25. Nike Air Max Billig

    When I initially commented I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get four emails with the exact same comment. There has to be a way you are able to remove me from that service? Thanks!

  26. fifa 14 coins for sale

    My programmer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the costs. But he’s tryiong none the less. I’ve been using WordPress on various websites for about a year and am worried about switching to another platform. I have heard great things about Is there a way I can transfer all my wordpress posts into it? Any kind of help would be really appreciated!

  27. Nike Free Run 3

    Howdy! Would you mind if I share your blog with my myspace group? There’s a lot of people that I think would really enjoy your content. Please let me know. Many thanks|

  28. timberland coupon 40

    non serve certo essere un economista per capire che un aumento di soli 33 euro circa al mese, e solo per gli over 64 che vivono con una pensione inferiore ai 654 euro, è solo un dice Paolo Leonardi, Coordinatore Nazionale RdB/CUB.

  29. hogan rebel outlet online

    Roomba poss猫de un capteur de choc. S’il rencontre un objet lourd, ou au moins un peu r茅sistant, il change de direction. Sous le banc de test TV, entre les dizaines de c芒bles, l’ordinateur, les pieds de chaises et de tables, Roomba ressemblait 脿 un chat 脿 qui nous aurions lanc茅 une balle rebondissante. Il est vite devenu dingue, mena莽ant d’arracher tous nos fils. Il nous a vite fallu revenir sur Terre et mettre 脿 profit un outil indispensable livr茅 avec : la balise mur virtuel. Apr猫s l’avoir plac茅e devant le banc de test, effectivement, Roomba n’y va plus. Qu’on se le dise : Roomba cohabite mal avec les c芒bles qui tra卯nent.

  30. Discount Michael Kors Handbags

    Hi, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam comments? If so how do you reduce it, any plugin or anything you can suggest? I get so much lately it’s driving me mad so any support is very much appreciated.

  31. Nike Free 3.0 v5

    Its such as you learn my mind! You appear to grasp so much about this, such as you wrote the guide in it or something. I believe that you could do with a few % to pressure the message home a little bit, but instead of that, that is great blog. A great read. I’ll definitely be back.

  32. Nike Free 3.0 v4 Tiffany Blue

    Hi there I am so delighted I found your blog, I really found you by mistake, while I was researching on Aol for something else, Anyways I am here now and would just like to say kudos for a tremendous post and a all round enjoyable blog (I also love the theme/design), I don’t have time to browse it all at the minute but I have saved it and also included your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the fantastic work.

  33. Ralph Lauren Cap Sale

    It’s a pity you don’t have a donate button! I’d without a doubt donate to this fantastic blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will talk about this blog with my Facebook group. Chat soon!

  34. Michael Kors Handbags Discount

    Undeniably consider that which you stated. Your favourite justification appeared to be on the net the simplest thing to keep in mind of. I say to you, I definitely get irked even as other folks think about worries that they plainly do not know about. You managed to hit the nail upon the highest as neatly as outlined out the entire thing with no need side-effects , other people can take a signal. Will probably be back to get more. Thank you

  35. Carey

    I appreciate, cause I found just what I was looking for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye

  36. Nike Air Max Dames

    Hello There. I discovered your weblog the use of msn. This is a very neatly written article. I’ll make sure to bookmark it and come back to read more of your helpful info. Thanks for the post. I will definitely comeback.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>