I am new to iphone development.I am creating a map application.Now i am facing a problem with the alert view.To see how alert view displayed in simulator, i have added a alert view in the "view did load "method.When i click a button in the landing page it navigates to another view(where alert view is displayed)When i run the app ,in console window i can see the session started once again after the initial start at landing page.
for displaying the alert
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Current Location" message:@"Show Current Location?" delegate:nil cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK"];
[alert show];
IN the console window
[Session started at 2010-02-18 15:57:12 +0530.]
[Session started at 2010-02-18 15:57:23 +0530.]
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 604.
(gdb)
I just wanted to see alert view without doing any action on clicking ok or cancel buttons.Please help me out. please guide me.Thanks.