【发布时间】:2017-03-20 21:40:59
【问题描述】:
My viewController has one view with images and labels and one textView
我是目标 c 的新手。 我的问题是在我的 ViewController 中添加带有 2 个自定义视图(UIView 和 UITextView)的 ScrollView。(链接中的图像)我已经尝试了很多东西在 Stack 中发布,但对我没有任何作用。 谢谢!
这是我所拥有的:
self.scrollView.contentSize=self.scrollView.frame.size;
self.scrollView.frame=self.view.frame;
[self.view addSubview:self.scrollView];
【问题讨论】:
标签: ios objective-c uiscrollview