Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8629237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:45:10+00:00 2026-06-12T08:45:10+00:00

I made a UIScrollView inside a UIViewController I have like 5 ViewControllers my problem

  • 0

I made a UIScrollView inside a UIViewController I have like 5 ViewControllers my problem is in the 4th one.

The UIScrollView I made does scroll when I put notting it it (so no label no button, no objects at all) but when I put even a label (or anything) in the UIScrollView it stops working.

Edit:

I have try’d making the same thing in a new project, for some reason it does work I think it has something to do with the fact that it is in the 4th ViewController and the new one I made, was made, in the First automatically made viewcontroller.
I do not yet have a answer please help.

My code:
viewcontroller.h

#import <UIKit/UIKit.h>

@interface viewcontroller : UIViewController
@property (weak, nonatomic) IBOutlet UIScrollView *ScrollerMdon;

@end

viewcontroller.m

@synthesize ScrollerMdon;

- (id)initWithNibName:(NSString *) nibNameOrNil bundle:(NSBundle *) nibBundleOrNil
{
    self = [super initWithNibName: nibNameOrNil bundle:nibBundleOrNil];
    if(self)
    {

    }
return self;
}

-(void)viewDidLoad
{
[ScrollerMdon setScrollEnabled:YES];
[ScrollerMdon setContentSize:CGSizeMake(320,1000)];
[super viewDidLoad];
}

@end

In xcode viewcontroller connection inspector my outlet ScrollerMdon is connected with *Scroll View(*which I inserted in my viewcontroller)

In xcode UIScrollView connection inspector my Referencing outlet ScrollerMdon is connected with viewcontroller.

Please help me I have been trying to solve this for 5 hours.. I can’t stand it anymore.

Edit:

I try to make it possible for a single viewcontroller to hold like 17 textboxes I see no other way than doing it with a UIScrollView if there are any suggestions I would be really happy.

Edit2:

I have try’d to make it all aggain putting the same class on a different view controller and the other way around, I kinda rewrote the code and everything it’s exactly the same as what I made in the other project but it does not work.(when an object is inside..)

2 foto’s of my program.
Srry for the small and bad images, for some reason they moved without my permision but it is enough information I guess.(I use VMWare 8 with os x leopard on it)

foto 1

foto 2

Me Scrolling without items:
imgur.com/cd16I

Me desperately Scrolling with items:
imgur.com/hNUl1

Since I can only post 2 hyperlinks you have to open these yourself.
PS. please upvote this if you do not know the answer for I need a answer and there will probably be more viewers if it gets upvoted, ty.

Edit3:

I am now copying my entire code and build of the app in a different project hope this wil work :S.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:45:11+00:00Added an answer on June 12, 2026 at 8:45 am

    I found the solution it might not be the perfect solution but it works.

    The problem seemed to be somewhere in my first project since I could make it work in other projects,
    so I copy’d my entire project to a different project and this way it worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I made UIScrollView with some UIButton inside. The problem is that when I scroll
I have uiimageviews as subviews for uiscrollview. I made my uiviewcontroller resize the scrollview
I made a UIViewController, which programatically generates a UIScrollView. Everything's fine, but when I
I made an UIScrollView with pages. On Each page I will have an UIScrollView
I have a Custom Scroll View, subclassing UIScrollView . I have added a scroll
I have some CTFrame columns of text placed on a UIScrollView and I made
I have made a sample where there is a ScrollView and Images that Scroll
I'd like to scroll my content in a UIScrollView. But I think I a
I have two subviews of UIScrollView. One is textView and other is tableView. I
hi I have a problem I made an application based on apples sample app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.