Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Help Loading Different Views from other class view controllers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="brad35309" data-source="post: 1225996" data-attributes="member: 199718"><p><strong>reply</strong></p><p></p><p>[code]</p><p>- (IBAction)tapCreateNewChar:(id)sender {</p><p> [txtNewChar resignFirstResponder];</p><p> if ([txtNewChar.text length]<=0) {</p><p> UIAlertView *theAlert = [[UIAlertView alloc] initWithTitle:@"No Name Entered" message:@"No name was Given. A name is Required." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];</p><p> [theAlert show]; [theAlert release];</p><p> }</p><p> if([txtNewChar.text length]<=1){</p><p> [finalViewController LoadHomeWorld];</p><p> }</p><p></p><p>[/code]</p><p>the line </p><p> [finalViewController LoadHomeWorld];</p><p>this method is not working in this view.</p></blockquote><p></p>
[QUOTE="brad35309, post: 1225996, member: 199718"] [b]reply[/b] [code] - (IBAction)tapCreateNewChar:(id)sender { [txtNewChar resignFirstResponder]; if ([txtNewChar.text length]<=0) { UIAlertView *theAlert = [[UIAlertView alloc] initWithTitle:@"No Name Entered" message:@"No name was Given. A name is Required." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil]; [theAlert show]; [theAlert release]; } if([txtNewChar.text length]<=1){ [finalViewController LoadHomeWorld]; } [/code] the line [finalViewController LoadHomeWorld]; this method is not working in this view. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Help Loading Different Views from other class view controllers
Top