Search code examples
objective-cxcode4storyboard

How to move this ColorPicker from iPhone to a portion of iPad scene?


I found a ColorPicker (ILColorPicker) that takes the whole screen on an iPhone. I want to use it in my iPad app (XCode4 using StoryBoards)... it's asking me to "In your view controller's XIB, add a UIView and then set it's class to ILColorPickerView ". I don't want to use the entire scene, just a small part of it... is there another way I can accomplish this? (using Layers, frames, etc)?


Solution

  • You could programmatically create a popover (UIPopoverViewController), and put the color picker as the view for your popover.