How to move this ColorPicker from iPhone to a port

2019-09-05 01:56发布

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)?

1条回答
Anthone
2楼-- · 2019-09-05 02:38

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

查看更多
登录 后发表回答