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

  • SEARCH
  • Home
  • 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 6714291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:28:42+00:00 2026-05-26T08:28:42+00:00

We are using Monotouch to develop an application that is specific to the iPad,

  • 0

We are using Monotouch to develop an application that is specific to the iPad, but I suspect the same question applies to standard xcode/cocoa applications.

Our issue is that we have UITableViews that must scroll both horiztonally and vertically (please do not suggest that we change the design as that is not a viable option).

We can easily get the UITableView to behave this way by setting the ContentSize to the appropriate size (we set the width to the width of the contained data and the height to the UITableView’s height).

However, there is an unpleasant side-effect to this: the header view and the lines separating each of the rows are is clipped to size of the frame when scrolled horizontally. Interestingly, content continues to be shown, although I suspect that this is a function of displaying our data through subviews added to the cell’s contentview.

I have tried just about every combination of settings in the UITableView (clipping, setting bounds, opacity, etc) all to no avail.

We have verified that this will work correctly if we embed the UITableView in a UIScrollView, but we would prefer not to take this approach due to the inability to reuse cells (there could be a lot of data presented by these tableviews) and other reasons (apple says not to).

Can anyone point us in the right direction? I don’t understand why this is so difficult.

  • 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-05-26T08:28:43+00:00Added an answer on May 26, 2026 at 8:28 am

    I don’t guarantee that the following will work, but you can try the following.

    To fix the header view, you will need to add your header content to a dummy containerView and then use this dummy containerView as the table headerView.
    Now, you should set containerView.clipsToBounds = FALSE and the frame for your header content to the desired width (if you know it).

    Also, make sure that the header content will have no autoresizing masks set. We don’t want it to change its frame no matter what happens to the containerView.

    The idea behind this is that the tableView will resize the frame of your containerView, but will leave your header content frames untouched. And by setting the clipping to FALSE, you should get your content to spill outside of the containerView… voila… hopefully

    To fix the separator lines, my only solution I can think of is to make your own separator lines in the cells. You can then have full control over its size.

    I’ve dome something similar with the header view, and I managed to get the content to spill.

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

Sidebar

Related Questions

I'm creating an IPad application using C#, Mono develop and Monotouch. I've been using
I'm using Mono Touch to develop a landscape-only iPad application but the simulator doesn't
I am writing an iPad application using MonoTouch, MonoDevelop and Interface Builder, and i've
I am finishing the development of an application using monotouch that downloads video files.
I'm using Monotouch to develop an iPhone application. I'm aware there are answers out
Can I port my old C# desktop application on IPad using MonoTouch?
I'm quite new at using Monotouch and I want to make an app that
iPhone/iPad dev newb here... I am using MonoTouch to create a universal iPad/iPhone storyboard
I'm using MonoTouch (monoDevelop 2.6) to develop an iPhone app. I've created an iPhone
I'm using MonoTouch and my application setup looks something like this, NavController -TabBarController -NavController

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.