Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8120149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:02:07+00:00 2026-06-06T05:02:07+00:00

I just completed the ios tutorial, and while I can manipulate a single screen

  • 0

I just completed the ios tutorial, and while I can manipulate a single screen now, I am not sure how to implement a “button listener” and tell that button to go to another view that I tell it to go to.

Here is my code so far:

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

@property (weak, nonatomic) IBOutlet UIButton *homeToLearn;

- (IBAction)homeToPlanBusiness:(id)sender;
- (IBAction)homeToLearn:(id)sender;
- (IBAction)homeToMyPlans:(id)sender;
- (IBAction)homeToSettings:(id)sender;

@end

how do I make one of these buttons go to a LeanController that I made? I guess I need to make a LearnView but even once I make that, how do I tie them in together?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:02:13+00:00Added an answer on June 6, 2026 at 5:02 am

    Are you trying to do this in code, with storyboards or IB? What version of iOS are you trying to target?

    Generally speaking, there are two main ways to accomplish what you want to do. If you want it to be “navigation based” you would do something like this after creating a navigation controller to handle the different view controllers:
    [self.navController pushViewController:newLeanController animated:YES]

    If you are just swapping views you can do something like:
    [self.view addSubview:newLeanView]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Not that level of failure indeed. I just completed the 4 part tutorial from
when tapping just on the Back button it last 1-1.5secs (iOS 4-5 iPhones) seconds
Possible Duplicate: iOS: How can i receive HTTP 401 instead of -1012 NSURLErrorUserCancelledAuthentication Just
i just completed a web based chat application based on ajax/php. But the problem
We have just completed implementing a successful but problematic project. We want to get
I have just completed an application for my final year project and I need
I am new in this community. I just completed my Btech in Computer science,
I created iOS app using PhoneGap version 0.9.6 long back. Now I am going
NOTE: This is for Mac OS X not iOS I have a client app
Xcode 3.2.5, iOS 4.2 (Simulator), Cocos2D 0.99.5 Following this tutorial comes with a wonderful

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.