Iphone 如何将UISegmentControl添加到CPTGraphHostingView?
如何将Iphone 如何将UISegmentControl添加到CPTGraphHostingView?,iphone,objective-c,core-plot,Iphone,Objective C,Core Plot,如何将UISegmentControl添加到CPGraphHostingView?当我尝试添加UISegmentControl时,它通常会被CPGraphHostingView覆盖您是否尝试了类似[graphHostingView-bringsubview-front:segmentedControl]的操作?不要将子视图添加到CPTGraphHostingView中。相反,让它和UISegmentControl具有一个公共父视图的同级视图。您能解释一下将UISegment控件放入CPGraph
UISegmentControl
添加到CPGraphHostingView
?当我尝试添加UISegmentControl
时,它通常会被CPGraphHostingView
覆盖您是否尝试了类似[graphHostingView-bringsubview-front:segmentedControl]
的操作?不要将子视图添加到CPTGraphHostingView
中。相反,让它和UISegmentControl
具有一个公共父视图的同级视图。您能解释一下将UISegment控件放入CPGraphHostingView的要求吗?我想要一个UISegment来显示3个月的图表,1年etc数据也尝试segmentedControl.layer.zPosition=1
。现在它正在显示,但我已经放下了segmentedControl。它正在向上显示,我无法按分段控件查看瞬时
和所选分段索引
属性: