adding a custom view to a alert view

前端 未结 3 769
长情又很酷
长情又很酷 2021-02-09 10:20

i have a problem like this:

i want to show a customized view inside a alert view. so i create a separate xib file and designed my interface.and implemented the class for

3条回答
  •  太阳男子
    2021-02-09 10:50

    In to native Alert-view in ios7 that not possible to adding custom View as a sub-view of alert-view. You can use ios-custom-alertview for doing this kind of task you can do what you want. Hope this helpful to you.

    I am using this ios-custom-alertview with Adding two Bellow file in to my project.

    CustomIOS7AlertView.h
    CustomIOS7AlertView.m
    

    and how to use there is quick-start-guide

提交回复
热议问题