UIAlertView自定义中的iOS 7 UIDatePicker [英] iOS 7 UIDatePicker in UIAlertView customisation

查看:95
本文介绍了UIAlertView自定义中的iOS 7 UIDatePicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计我将UIDatePicker添加到UIAlertView,如 - 允许的自定义提醒视图您要将视图添加为主要内容。




Guys I was adding UIDatePicker to UIAlertView like this

It was fine with iOS 6 and below now in iOS 7 it comes like this

Any ideas why this happens? Is there a better way of doing this?.Any help is appreciated.

解决方案

This is my component to support addSubview in AlertView.

CXAlertView - Custom alert-view which allow you to add view as main content.

这篇关于UIAlertView自定义中的iOS 7 UIDatePicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆