UIPageControl 背景色,该怎么解决

UIPageControl 背景色
我想去掉UIPageControl的背景色 uiPageControl.backgroundColor = [UIColor clearColor]; 不行啊 有知道怎么搞得么?
谢谢了

------解决方案--------------------
uiPageControl.backgroundColor = [UIColor clearColor]; 

是不是 写错了。。。。

一般都可以的。。。

【pangeControl1 setbackgroundColor:【uicolor clearColor】】;即可

如果不行,就用一个遍历
for(id view in pangeCOntrol1)
{
if ([(uiview *)view isequeltoclass [uiview class]]
{
[view removefromsuperview];
}


思路大概是这样的。

还有一个方法是,写一个uiPageControl委托方法 在类里面

 把它里面的 imageVIew 设置为空 试试看
------解决方案--------------------
UIPageColor背景色,不是白色的吗,为何要去掉背景色?
------解决方案--------------------
uiPageControl.backgroundColor = [UIColor clearColor]; 可以让背景色透明的。。