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 8985219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:17:01+00:00 2026-06-15T21:17:01+00:00

This is what i have so far. What I am trying to do is

  • 0

This is what i have so far. What I am trying to do is have a top scroll bar with buttons on it that take you to different pages. I am adding this UIScrollView here and the button, but i cannot get it to show up on the screen. I want the top scroll to be 500 pixels (to fit other buttons) and i want the button i have there to be in the middle of the screen on startup. I think my probl has to do with the coordinates that i have put in, but i have been changing them around for a few hours now and i still cant get it.

    // init top Scroller
UIScrollView *topScroll = [[UIScrollView alloc]initWithFrame:CGRectMake(-90,0, 60, 500)];
topScroll.contentSize = CGSizeMake(60,500);
topScroll.showsHorizontalScrollIndicator = YES;
[self.view addSubview:topScroll];
[topScroll setScrollEnabled:YES];

//add current games button
UIButton *currentGamesButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
currentGamesButton.frame = CGRectMake (227, 0,55,55);
[currentGamesButton addTarget:self 
                       action:@selector(goToCurrentGamesViewController:)
             forControlEvents:UIControlEventTouchUpInside];
[currentGamesButton setTitle:@"Current Games" forState:UIControlStateNormal];

[topScroll addSubview:currentGamesButton];
  • 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-15T21:17:02+00:00Added an answer on June 15, 2026 at 9:17 pm

    The answer to this question: as stated by SuperRod on March 30th is that the location of my button was out of the screen. Sorry for the noobish question, and i plan on double checking my code before i put it on the website.

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

Sidebar

Related Questions

I've been trying for a whlie on this, and have so far been failing
I have been trying to get this jsfiddle to work. So far without luck.
I am trying to remove two viewcontrollers (that have been added on top of
I am trying to remove two viewcontrollers (that have been added on top of
I have this so far but the Column 'name' is ambiguous, so I want
I have this so far but I don't know how to write over the
I have this so far: http://jsfiddle.net/u5vhS/54/ . What I want to be able to
So far i have this: mov ah,02h mov cl,11001100001111011101000b ;6,692,584 in dec mov dl,0
I'm using the javascript module pattern, and have this so far: var APP; if(APP
Thanks to everyone out there helping newbies like me. So far I have this:

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.