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 8369125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:34:06+00:00 2026-06-09T13:34:06+00:00

I created story board application in XCode 4.3.3. (Single View Application -> Use storyboards

  • 0

I created story board application in XCode 4.3.3. (Single View Application -> Use storyboards checkbox)

Then I created second ViewController (first one is created when application initially created)

I added Round Rect Button with title “log2” to second ViewController.

Then I want to add code for handling event “TouchUpInside”. To achive this I press Show the Assistant Editor” button and try to control drag “log2” button to source code of ViewController.h.
But nothing happens.

How to add TouchUpInside handler for “log2” button described above?

What is interesting, if I add button to the first ViewController, control-drag works fine for the button and I can create event handing.

  • 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-09T13:34:07+00:00Added an answer on June 9, 2026 at 1:34 pm

    Yes, you want to manually add a file, that’s a subclass of UIViewController to your project, and set the second view controller in your storyboard to that class (in the identity inspector). Then you should connect the button to that controller, not the first one.

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

Sidebar

Related Questions

I downloaded xcode 4 and created a single view application with storyboard. I added
I have just created a new Single View Application on xCode 4.4. And it
I just created a Xcode 4 Single View project (without storyboard), drag and drop
created a singleview application with storyboard. Added three viewcontrollers apart from the one view
I've made a new project as a Single View iOS Application in Xcode. I've
Have started playing with Xcode 4.2, and created a single page application using storyboard
info: xcode 4.3.2, iOS5, using storyboard. Created project from xcode's Tabbed Application template. Did:
In Xcode, how can I create a simple iPad application that uses Storyboards such
when I use the utility application template in Xcode (4.3) without Storyboard I see
I created an animation storyboard in xaml file. That story board begins on Button.Click.

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.