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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:53:53+00:00 2026-05-23T12:53:53+00:00

I have designed a button in my nib file. Its initial text is defined

  • 0

I have designed a button in my nib file. Its initial text is defined as “Not Click” but when program will run and user will click on button it should say “clicked”. How will I change text of button.

  • 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-05-23T12:53:54+00:00Added an answer on May 23, 2026 at 12:53 pm

    When user click on button, you would be receiving the touch event in event method.

    You will receive Touch event only if you define action or bind action to that button. so bind this method to your Button touchUpInside event.

    First write below code in your .h File.

    -(IBAction)buttonClicked:(id)sender;
    

    Then Write below method in .m file.

    -(IBAction)buttonClicked:(id)sender
    {
        UIButton* myButton = (UIButton*)sender;
        myButton.titleLabel.text = @"Clicked";
    }
    

    Sorry, I edit this answer. Ajay seems at very basic level and I guess he is not aware about bind button action event as well. So I describe that as well.

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

Sidebar

Related Questions

I have a UIScrollView which content is designed with Interface Builder. It has a
Here is my scenario: I have a windows form designed in Visual Studio 2010.
I use the latest version of Jquery-UI -- and not the one designed specifically
This problem has been bothering me for sometime now, I have not settled on
Friends, I have an application, ten pages, but full of buttons(with background images), big
Google is failing me here. I have a designer who needs desperately to have
I have been trying to follow the few tutorials on how to create a
Please see designer's picture: Now see what I'm getting: Here is my layout: <LinearLayout
I created a navigation controller based app. The view that opens up below the
I'm trying to provide a functionality of having two Methods one called StartTask(action mymethod)

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.