如何在UIsegment Control中为每个段设置图像 [英] How to set the image for each segment in UIsegment Control
本文介绍了如何在UIsegment Control中为每个段设置图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个应用程序.因此,我需要在segment控件中为各段设置图像.所以请告诉我该怎么做.
Iam developing one application.In that i need to set the image for segments in the segment control.So please tell me how to do that one.
推荐答案
使用 [segmentedControl setImage:forSegmentAtIndex:];
方法
这篇关于如何在UIsegment Control中为每个段设置图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文