On 16 Nov 2012, at 3:15 AM, Rick Mann <[email protected]> wrote:
> I have a UITableViewCell in a UINavController in a UISplitView. When in
> portrait, the selected cell gets deselected at some point after dismissing
> the popover containing the table view. Even though I implemented
> -didDeselectRowAtIndexPath: and -didUnhighlightRowAtIndexPath: (which get
> called during normal interaction with the table), they're not getting called
> during popover dismissal. Nor is the table being reloaded.
>
> Something else is deselecting the selected row. I don't want it to do that.
>
> I can select a row, see it turn blue, dismiss the popover, watch it slide off
> the screen (row still selected), bring the popover back, and see the row
> deselected.
>
> Anyone see this, and know of a workaround? Thanks.
I assume the master view (within the nav controller) is a
UITableViewController? Have you tried setting the controller's .
clearsSelectionOnViewWillAppear to NO?
— F
--
Fritz Anderson -- Xcode 4 Unleashed: 4.5 supplement in the works --
<http://x4u.manoverboard.org/>
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]