Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
What I am trying to do is create a view that has a two table views side by side that each take up half of the iPad screen. When you select one on the left it updates the contents of the one of the right. My question is how do you set up the frames for this. When I try to use CGRect and create the frame the one on the left still just takes up the whole screen. Any ideas?
What I am trying to do is create a view that has a two table views side by side that each take up half of the iPad screen. When you select one on the left it updates the contents of the one of the right. My question is how do you set up the frames for this. When I try to use CGRect and create the frame the one on the left still just takes up the whole screen. Any ideas?
Why not set them up in Interface Builder? That should be much easier. I haven't done side-by-side table views in an iPad app, but I do have a table view in our iPad "Save My Place" app that only occupies about 1/3 of the screen width (in landscape mode.)
If you really want to create your table views through code you should look carefully at their resizing masks. That may be what is causing your problem.
Regards,
Duncan C WareTo
Animated GIF created with Face Dancer, available for free in the app store.
Replies
I haven't done side-by-side table views in an iPad app, but I do have a table view in our iPad "Save My Place" app that only occupies about 1/3 of the screen width (in landscape mode.)
If you really want to create your table views through code you should look carefully at their resizing masks. That may be what is causing your problem.
Duncan C
WareTo
Animated GIF created with Face Dancer, available for free in the app store.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome