UIAlertView 自定义中的 iOS 7 UIDatePicker [英] iOS 7 UIDatePicker in UIAlertView customisation
本文介绍了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屋!
查看全文