ios - Is it possible to display UITableViewCellStyleValue1 and UITableViewCellStyleSubtitle within the same row -


i display information below , infront of main content in row in table view, possible?

something like...see screenshot.

https://www.evernote.com/shard/s157/sh/b5527a4b-c079-4ca6-9dc8-f9fdc8760816/0d83416b09e8e52ee341bc171a34ad5b

thanks

make subclass of uitableviewcell , exposes correct outlets.

something this

@interface mycustomuitableviewcell < uitableviewcell @property (nonatomic, readonly, weak) uilabel *title; @property (nonatomic, readonly, weak) uilabel *subtitle; @property (nonatomic, readonly, weak) uilabel *title;  - (id) initwithreuseidentifier:(nsstring*)identifier; @end 

you can create ui programmatically or build cell nib , connect outlets.

note: new ui should added contentview property of uitableviewcell.

here few similar questions


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -