MPVolumeView in a UIAlertView?

后端 未结 4 739
旧时难觅i
旧时难觅i 2021-01-27 16:36

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

4条回答
  •  情话喂你
    2021-01-27 17:07

    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.

提交回复
热议问题