开发者

iPhone: add an image to grouped uitableview section header?

开发者 https://www.devze.com 2022-12-16 23:26 出处:网络
I know I can change the way the section header looks by implementing viewForHeaderInSection: Th开发者_如何学Goe thing is I want to add a UIImageView to the right of the header text without modifying

I know I can change the way the section header looks by implementing viewForHeaderInSection:

Th开发者_如何学Goe thing is I want to add a UIImageView to the right of the header text without modifying the look of the already existing label.

I can create my own view and add a UILabel and a UIImageView, but then, I'd have to setup the label color and font to match the standard look

thanks


You're going to have to create your own view holder, image, and label, and try to match the standard look. Sorry!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号