I have converted ILColorPicker to work on XCode4 and Storyboard. My problem is that it fills the entire UIView on the iPad… where do I start looking for a way to make it smaller?
I was thinking of using a subview, but not sure how to “wire” it into the subview. Any other ideas?
UPDATE: here is the code where I believe I can modify the frame, except I don’t know how…
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
// Initialization code
[self setup];
}
return self;
}
Adjusting the frame size is programmed with
CGRectMakelike this:In the above the variable
xandycorrispond to the top-left corner. Andwidthandheightare the width and height of the frame.