如图所示构建按钮列表
我正在尝试在按下某个按钮时从屏幕底部构建按钮列表幻灯片,
它的名字是什么?!
我尝试构建一个高度为 200px 的视图,然后通过插入它,
ShareViewController * svc=[[ShareViewController alloc ]initWithNibName:@"ShareViewController" bundle:nil];
[self presentModalViewController:myView animated:YES];
但它不起作用?!
am trying to build buttons list slides from bottom of screen when some button pressed
what's it's name ?!
i tried to build a view with 200px height and then inserting it via
ShareViewController * svc=[[ShareViewController alloc ]initWithNibName:@"ShareViewController" bundle:nil];
[self presentModalViewController:myView animated:YES];
but it down't work ?!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是标准UIActionSheet 控件,它是与 UIKit 配套的,所以你不需要创建额外的控制器来达到你想要的效果。
This is standard UIActionSheet control which goes with UIKit, so you don't need to create extra controllers to achieve the effect you want.
就像@Vladimir 所说,您正在查看 UIActionSheet。如果您实际上正在尝试构建确切的一个,您应该知道它来自 ShareKit:http://getsharekit.com/
Like @Vladimir said, you are looking at a UIActionSheet. If you are actually trying to build that exact one, you should know it comes from ShareKit: http://getsharekit.com/