0

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.enter image description here

4

4 回答 4

3

您可以从 git 使用 RDActionSheet

https://github.com/reddavis/RDActionSheet

我希望它会帮助你..!!

于 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

您可以FlatUIKIT从 Git使用

https://github.com/Grouper/FlatUIKit

仔细阅读文档,您将知道如何使用它。很棒的平面 UI 类集合。

于 2013-07-26T07:25:30.717 回答