核心图区域作为视图的一部分?
下面的困境似乎是一个很容易克服的问题,但我找不到任何有关如何解决它的信息。我检查了各种教程,以及与 Core-Plot 捆绑在一起的所有示例代码。
我最近设置了一个新的基于 iPhone 视图的应用程序。但是,我不希望图表占据整个屏幕/视图。
The dilemma below seems like a very easy problem to overcome, yet I can't find anything about how to tackle it. I've checked various tutorials, as well as all the sample code bundled with Core-Plot.
I've recently set up a new iPhone view-based application. However, I don't want the graph to take up the whole screen/view.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将 UIView 放入主 UIView 中。然后将该内部视图的类型更改为您需要的 UIView 子类,例如 CPGraphHostingView。
You can put a UIView inside your main UIView. Then change the type of that inner view to the UIView subclass that you need, such as CPGraphHostingView.