如何在 iPad 应用程序中使用 Coreplot 在 CPTLayerHostingView
中添加关闭按钮。
我使用 CorePlot 在 CPTLayerHostingView
中创建了一个图表。但现在我想向 CPTLayerHostingView
添加一个关闭或完成按钮。
给我一个建议。
提前致谢
最佳答案
CPTLayerHostingView
对其 subview 应用翻转变换,因此如果您在其中添加按钮或任何其他 View , subview 将上下颠倒。相反,将托管 View 和您的按钮添加到同一父 View 。
关于ios - 如何使用 Coreplot 在 CPTLayerHostingView 中添加关闭按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9765216/