Is it possibe to put an MPVolumeView in a UIAlertView?
I have tried to put it inside of it, but it does not display. It may be the sizeToFit
or
Take a look at MPVolumeSettingsAlertShow()
Displays an alert panel for controlling the system volume.
You might like to check out this recent blog post from Jeff LaMarche, should fill your needs - Custom Alert Views
UIAlertView
is a subclass of UIView
, and UIView
has a convenient addSubview:
method. Have you tried that?
I think initing the VolumeView with the VolumeAlert's frame would cause problems. Since VolumeAlert's frame is never being set (before VolumeView's frame is set), you can't depend on it being any size.