UA-17470720-3

Jump to content


Photo
- - - - -

Prevent DetailViewController from loading (2)

view-controllers

  • Please log in to reply
2 replies to this topic

#1 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 21 January 2015 - 01:11 AM

Hi all. How to I blank out a detail view until a master view cell is selected?

 

Thanks



#2 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 22 January 2015 - 07:49 AM

Hi Dave,

 

You simply call SCTableViewContorller's loseFocus method.

 

[detailViewController loseFocus];

 

It's worth mentioning here that STV does initially have the detail view blanked until a cell is selected.



#3 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 22 January 2015 - 11:24 AM

loseFocus and gainFocus are great, but only work on STV objects. I should have said that in a detail view, I have a couple of buttons not linked to the STV model... Can someone show me a snip for STV4 where I can use UIButtons for my own ends within the framework.. Thanks


Edited by David DelMonte, 22 January 2015 - 11:25 AM.






Also tagged with one or more of these keywords: view-controllers

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users