UIPageControl设置图片

UIPageControl *pageControl = [[UIPageControl alloc] init];
 // 设置内部的圆点图片
[pageControl setValue:[UIImage imageNamed:@"compose_keyboard_dot_normal"] forKeyPath:@"pageImage"];
[pageControl setValue:[UIImage imageNamed:@"compose_keyboard_dot_selected"] forKeyPath:@"currentPageImage"];

 

posted @ 2015-11-29 19:48  Z了个L  阅读(1198)  评论(0编辑  收藏  举报