Let me know if I should report this to Apple..

AccesoryView in DetailTableView
#21
Posted 19 February 2015 - 03:12 PM
#22
Posted 30 March 2015 - 05:56 PM
Sorry, been a bit preoccupied with life I appreciate your investigation. I'll try this on a device, and let you know.
- wizgod likes this
#23
Posted 31 March 2015 - 06:36 AM
OK. So on an iPad device, I get the same result. I cannot change / style any accessory. Also, I cannot remove it . So, same results on a device and on the sim -- and both, only on iPad -- iPhone is ok.
I knocked up a simple non-STV core data app, and in both the sim, and on a device, I can change/style/remove the accessory as I would expect.
So, I think this is an STV problem -- although, I'm happy to try something else.
I really like the roadmap you have defined so don't make this a high priority on my account.
#24
Posted 31 March 2015 - 07:16 AM
Thank you very much David, that's actually a really good starting point! Would you please attach the sample here?
- David DelMonte likes this
#25
Posted 31 March 2015 - 11:00 AM
sure.. attached is my knockup....
Attached Files
- Tarek likes this
#26
Posted 01 April 2015 - 07:55 AM
Thank you David
- David DelMonte likes this
#27
Posted 20 April 2015 - 08:35 PM
Greetings Programs!
Is there a resolution to this? I also have a custom nib for an SCArrayOfObjectsCell that I want to remove the accessory type for as well.
I tried pretty much the same as David...
var oCell = cell as! SCArrayOfObjectsCell oCell.accessoryType = .None oCell.editingAccessoryType = .None oCell.accessoryView = .None oCell.editingAccessoryView = .None
Wg
P.S. I love Swift... talk Swift.. Never too old school to learn yet another programming language. LOL! ;-)
#28
Posted 27 April 2015 - 08:27 AM
For removing the cell's own accessory:
oCell.cellActions.willDisplay = { (cell, indexPath) in cell.accessoryType = .None }
Also tagged with one or more of these keywords: cells, view-controllers
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users