If I have a UIScrollView set up in the view through the interface builder, how can I get reference to it in ViewController Implementation? I want to add the program to the scroll view in the label view. For example, in C # if you have a text box declared in the UI / form, you can access it using that declaration ID for that text box. This objective c. It does not seem simple.
Thanks Kevin
Assume I understand you properly and you are one. There are two ways to include subviews, including the UIScrollView - a view controller from xib in which you want to first - you can see it sub-views array which is owned by the view controller. Second, you can see in your header file IBotlot Reference can be added, then the Interface Builder in the connection inspector Abuse can make the connection. Then you can reference the object in your code, change the frame, add labels and so on.
Comments
Post a Comment