How can I customize an iOS alert view?

后端 未结 6 1878
情歌与酒
情歌与酒 2020-11-27 11:04

I want to create a custom alert view within my iOS application. For example, I want to put some images in this alert, and change its

6条回答
  •  感动是毒
    2020-11-27 11:22

    You'll need to create your own custom view, and implement some alert view style behaviour, such as displaying modally, dimming the background, animating in and out, etc.

    There's no support in the SDK for customising a UIAlertView any further than the text or buttons.

提交回复
热议问题