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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:47:32+00:00 2026-06-10T14:47:32+00:00

I have a button in an app labelled How to search, the referencing outlet

  • 0

I have a button in an app labelled “How to search”, the referencing outlet is “btnHelpShow” and it has the method “handleHelpShowButton” attached to the “Touch up inside” event.

The app is a simple search engine to find prices for number plates:

Search view of app

This is the SearchView.xib file’s hierarchy in Interface Builder

Screen shot of view hierarchy

The view be in 4 states:

  • 1) Waiting to search (pictured)
  • 2) Showing help screen
  • 3) Results found
  • 4) No results found

State 2 and 4 create a view with a seperate .xib file and insert it onto the view stack, they then both have a button that hides the view and shows the search screen again.

State 3 is a sub-view inside SearchView.xib (pictured), as in I’ve just used interface builder to drag that view into the .xib. So it just gets it’s hidden property set to YES/NO

After State 3 occurs, the “How to search” button stops working, and will only work again if you select the input field and type in another number plate.

I’ve used NSLog(@"pressed") as the first line of the handleHelpShowButton, and that doesn’t get logged after State3, it’s like the button’s been disabled or there is an invisible view sitting over it stopping me from pressing it.

I’m not sure where to look from here? There’s a lot of code so I don’t want to post it all in one go.

  • 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-10T14:47:33+00:00Added an answer on June 10, 2026 at 2:47 pm

    Perhaps the subview that is created for state three overlaps the ‘How To Search’ button? Check the frame for that subview in an NSLog.

    If this is indeed the reason, you could try:

    [self.view bringSubviewToFront:howToSearchButton];
    

    You can learn more reading the UIView documentation.

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

Sidebar

Related Questions

I have made an iPhone App which has a loginwithFacebook button , the login
I have button i want to disable the click event on it when app
My app has a main screen where i have button to go to login
I have a button that when clicked will search the market for an app.
I have a .NET application that contains a checkbox (System.Windows.Forms.Checkbox). This component (WindowsForms10.BUTTON.app.0.378734a1) is
I have a button in my Cocoa app that opens a url in the
I have a button that launches the google maps app on my device via
I'm now testing GKPeerPickerController. I have a simple app that just have a button
I have placed an Image as a button in my App and I want
I have an app where the user presses a button and a custom spinner

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.