commedia
unread,Sep 19, 2011, 10:56:09 AM9/19/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Beta TapLynx for the iPad
Hi all
I'm using the ipad 1.09b version of tap lynx.
I wish I could create a tab containing a list of thumbnails. Each of
this has to open a full screen window.
So I came up to use a customViewControllerClass for this task, aware
that that ViewController has to be a UIScrollView.
There is an example in the package I downloaded (PLTestViewController)
and tried to tweak it to suite my needs, taking also in consideration
an instruction I found the Plugins Protocol directory of the iPad
Package:
"...
For some custom views, you might want to create a scroll view -- like
the built-in rows.
For others it might not make sense. That part is up to you.
..."
Here is tha loadView method in the PLTestViewController.m:
- (void)loadView {
self.view = [[[UIView alloc] initWithFrame:CGRectZero]
autorelease]; //frame doesn't matter at first - TapLynx will resize
if (self.isTabViewController)
self.view.backgroundColor = [UIColor redColor]; //for example
purposes -- so it's super-obvious in the UI where your view is
else
self.view.backgroundColor = [UIColor orangeColor];
}
I've tried different kind of approach but no success.
Can anyone please show me an example with a Scroll View?