Any suggestions on how i can add an extra 40 round rect buttons to my view controller... i have tried doing it through storyboard but of course as you can understand the only editable spaces is the one visible within the view controller.
So i take it i have to use code to add an extra 40 round rect buttons which are editable so that i can rename them and also so that i can link outlets to each individual one as each will be playing a separate short video.
Also the reason i have chosen buttons instead of a table view is because this view controller is gonna be accessed by purchases made from my "In App Purchases" with hope of being able to blur/Deactivate some buttons/purchases if they havent been purchased yet. Or Can the table view do that also?
Here is my code for the .h file for the scroll view
@interface ViewController17 : UIViewController <UIScrollViewDelegate> {
IBOutlet UIScrollView *scroller1;
}
@property (nonatomic, strong) UIScrollView *scroller1;
@end
Here is my code for the .m file for the scroll view
@implementation ViewController17
@synthesize scroller1;
- (void)viewDidLoad {
[scroller1 setScrollEnabled:YES];
[scroller1 setContentSize:CGSizeMake(320, 4000)];
scroller1.maximumZoomScale = 4.0;
scroller1.minimumZoomScale = 0.75;
scroller1.clipsToBounds = YES;
//here is the delegate portion below
scroller1.delegate = self;
[self.view bringSubviewToFront:scroller1];
[super viewDidLoad];
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end