I'm doing partial ways to install a class through the addition of a scrollview, which is called the easelview ( Below the ScrollViewManager). . The problem is that my class is now scrolling and touching, I can not see my view / nib file anymore, even if it is answering touching and scrolling properly
My thoughts Back to MyClass Nib as a Subview? Or do not know ... it seems as if it's there but just behind this scrollView is hidden.
These lines of code in the part of 'Myclass: UIViewController' to get the scrolling action to load the handles with touch response.
Thank you very much. So much more
scrollview = [[scrollviewer alloc] initWithFrame: self.view.frame]; ScrollView.contentSize = CGSizeMake (320, 600); [ScrollView setUserInteractionEnabled: TRUE]; [ScrollView set scroll enabled: TRUE]; Self.view = scrollView; // Trying to add to my nib for this class at the top of the scroll view // which does not work: 'unknown' view 'access to class method' [scrollView addSubview: Myclass.view]; [Scroll view release]; self.view = ScrollView line indicates your viewpoint by the controllers by scrollview . I.e. View & amp; ScrollView now points to the same object
After this, when you are trying to add [scrollView addSubview: Myclass.view]; By adding scrollwheel you are actually doing your Scrollview & amp; Access the visual property of Scrollviewview.
Just type the self.view = scrollView line & amp; Do this
[self.view addSubView: scrollView]; [Scroll view release]; Hope this will work.
Comments
Post a Comment