mercredi 24 juin 2015

What is the clearsSelectionOnViewWillAppear property for?

clearsSelectionOnViewWillAppear is a boolean property of UITableViews and UICollectionViews. It's set on true by default. According to the Apple Reference clearsSelectionOnViewWillAppear is

a Boolean value indicating if the controller clears the selection when the table appears.

This is still not clear to me. I suppose "clearing the selection" means that the UITableView does not have any selected (highlighted) UITableViewCells when the UITableView receives a viewWillAppear: message. I do not think this is the right answer, though.

What is the clearsSelectionOnViewWillAppear property for?

See more ..

Aucun commentaire:

Enregistrer un commentaire