Does anybody on here know a good tutorial for loading coretext into a UIView, which is itself a subview of a UIScrollView (to enable the full text content to be viewed on the device) I have been looking at the problem for a while and cant get my head around it! I can get a UIView as a subview of ScrollView, I can get coretext into a UIView, but i cant seem to get all three working together!
有没有人在这里知道一个很好的教程,用于将coretext加载到UIView中,UIView本身是UIScrollView的子视图(允许在设备上查看全文内容)我一直在看问题一段时间而且无法获得我的头围着它!我可以将UIView作为ScrollView的子视图,我可以将coretext变成UIView,但我似乎无法让所有三个一起工作!
1 个解决方案
#1
7
A quick Google search revealed these:
谷歌的快速搜索显示了这些:
UIScrollView – A really simple tutorial | iDevzilla
How To Use UIScrollView to Scroll and Zoom Content by Ray Wenderlich
How To: UIScrollView with Paging | iOS Dev Notes
[...]
Ultimately, you want [scrollView addSubview:view];
, but I would need more info to help you with your specific problem.
最终,您需要[scrollView addSubview:view] ;,但我需要更多信息来帮助您解决特定问题。
#1
7
A quick Google search revealed these:
谷歌的快速搜索显示了这些:
UIScrollView – A really simple tutorial | iDevzilla
How To Use UIScrollView to Scroll and Zoom Content by Ray Wenderlich
How To: UIScrollView with Paging | iOS Dev Notes
[...]
Ultimately, you want [scrollView addSubview:view];
, but I would need more info to help you with your specific problem.
最终,您需要[scrollView addSubview:view] ;,但我需要更多信息来帮助您解决特定问题。