ios - How To Code Subview(s) Image Indicators Collapsing to the Right in Table View Cell -


given ios 6.0+:

  • i have 3 image indicators a, b, c appear in order left right. cannot repeat. no a a.
  • any of a, b, c can on or off (show or not show)
  • when letter not showing, others collapse right; example c

what straight forward approach this? create 6 images , swap them in based on whether a, b, or c on?

see image example.enter image description here

i have reviewed apple's a closer @ table view cells

i 3 images a, b & c. put 3 hidden image views. unhide , put right image needed.

  • ex1: visible, in i1, b in i2, c in i3

  • ex2: i3 visible b image.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -