How to customize UIAlertView? Will Apple approve it?

后端 未结 8 1991
逝去的感伤
逝去的感伤 2021-02-04 18:48

I am using a custom UIAlertView with UITextField to get password from the user.

I have been told that this custom view may cause my App to get

8条回答
  •  醉梦人生
    2021-02-04 19:35

    Quoting from the class reference

    The UIAlertView class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified.

    The last sentence appears to me that they don't want developers modifying the views.

提交回复
热议问题