• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to disable the table view when search bar is active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to disable the table view when search bar is active


  • Subject: How to disable the table view when search bar is active
  • From: Ronnie B <email@hidden>
  • Date: Thu, 20 Aug 2009 14:36:10 -0400

Hi list.
I have a table view with the search bar in it.  Search bar is working fine.
 I would like to have the view disabled while entering text in the search
field.

I have tried this w/o any success:

//delegate
- (void)searchBarTextDidBeginEditing:(UISearchBar *)bar {

      self.tableView.scrollEnabled = NO;
}


Thanks,
Ron.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to disable the table view when search bar is active
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: devil of a time with an NSImageView
  • Next by Date: Re: -awakeFromNib vs. -windowDidLoad [Was: devil of a time with an NSImageView]
  • Previous by thread: Re: IB connections with view swapping?
  • Next by thread: Re: How to disable the table view when search bar is active
  • Index(es):
    • Date
    • Thread