草庐IT

toolbarPicker

全部标签

ios - 如何显示来自不同类的日期选择器方法调用?

我正在我的ViewController类中创建自定义日期选择器。然后我需要另一个ViewController类中的日期选择器。所以我想创建任何ViewController类都可以使用并显示日期的通用日期选择器。那么我该如何使用它。请分享代码。我使用这段代码:actionSheet=[[UIActionSheetalloc]initWithTitle:@"Date"delegate:selfcancelButtonTitle:nildestructiveButtonTitle:nilotherButtonTitles:nil];[actionSheetsetBackgroundColor