Today's trend in apps includes flat designs, and now I am doing an app that follows with this trend. My problem now is how to create a UIAcionSheet that match with my App Screen's flat UI Design. In relation with this, I saw Instagram's action sheet and I found it interesting. I wish to have that design in my app. Anyone knows how to implement this in ios apps? I have provided a screen shot from instagram app.
问问题
1014 次
4 回答
3
于 2013-07-26T08:33:16.470 回答
3
是的,
您可以使用https://github.com/reddavis/RDActionSheet也可以更改文本的图像和颜色以及操作表的背景图像
于 2013-07-26T13:55:02.130 回答
0
您可以创建子类CustomActionSheet派生UIActionSheet,
并在其中创建一个名为 CustomUI 的方法。在这里设计你的代码。
像 UIActionSheet 一样使用 CustomActionSheet,除了必须在 willPresentActionSheet 委托中调用子类的 CustomUI 方法:
- (void)willPresentActionSheet:(UIActionSheet *)actionSheet {
if ([actionSheet isKindOfClass:[CustomActionSheet class]]) {
CustomActionSheet *sheet = (CustomActionSheet*)actionSheet;
[sheet CustomUI];
}
}
于 2013-07-26T07:28:45.323 回答
0
于 2013-07-26T07:25:30.717 回答