I’m making an iPad app where the client wants a popoverview with transparency (alpha).
They gave me an example app, screenshot can be found here
I’ve read that UIPopoverController is the worst thing to customize as there are only a few properties to set.
LINK & LINK
I tried it with lowering a subview’s alpha but then the content of the view gets transparant too.
Am I missing an option, or doing something wrong to get this right?
Also, I have little experience with subclassing, so any suggestions if thats the case would be more than appreciated.
-Jasper
I created a subclass of UIView for you that should work for what you need…
PopoverView.h:
PopoverView.m
ArrowView.h:
ArrowView.m:
PopoverViewController.h:
PopoverViewController.m:
Example Usage:
Please note that this was made with ARC enabled, so if you are using reference counting this code will need some tweaking.
For convenience, I have put the entire project in my dropbox, for you to download:
http://dl.dropbox.com/u/25258177/personal/popovertest.zip