nazbot
nazbot

Reputation: 1697

Control that would display an array of images - iphone

I'm wondering if there is an already existing control that I could give an array of images to and it would display them horizontally?

So in other words, if I wanted to show that something had 3/4 stars I could add 3 full stars and 1 empty star to the array, or if I had a list of 'options' that are represented by graphics (eg open late, BYOB) I could just add those elements to the array.

Upvotes: 1

Views: 266

Answers (3)

puzzle
puzzle

Reputation: 6131

Sounds like you want to use a UISegmentedControl or a custom subclass based on it.

Upvotes: 1

Teodor Kostov
Teodor Kostov

Reputation: 313

I believe no - it's a too custom element. The closest that you can get is the UIImageView and its 2 images that you can swap between.

Upvotes: 0

Related Questions