gpt4 book ai didi

ios - 如何使用 Coreplot 在 CPTLayerHostingView 中添加关闭按钮

转载 作者:行者123 更新时间:2023-11-28 17:36:13 25 4
gpt4 key购买 nike

如何在 iPad 应用程序中使用 Coreplot 在 CPTLayerHostingView 中添加关闭按钮。

我使用 CorePlot 在 CPTLayerHostingView 中创建了一个图表。但现在我想向 CPTLayerHostingView 添加一个关闭或完成按钮。给我一个建议。

提前致谢

最佳答案

CPTLayerHostingView 对其 subview 应用翻转变换,因此如果您在其中添加按钮或任何其他 View , subview 将上下颠倒。相反,将托管 View 和您的按钮添加到同一父 View 。

关于ios - 如何使用 Coreplot 在 CPTLayerHostingView 中添加关闭按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9765216/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com