UIActivityViewController删除底部 [英] UIActivityViewController remove bottom part

查看:50
本文介绍了UIActivityViewController删除底部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有要从UIActivityViewController删除底部的部分?

Is there anyway to remove the bottom part from UIActivityViewController?

也-是否有从UIActivityViewController中删除更多图标的方法?

also - Is there anyway to remove the MORE icon from UIActivityViewController?

谢谢

推荐答案

iOS 8.2 中, UIActivityViewController 仅显示 UIActivityCategoryShare 的一行活动类型,如果我们不提供任何自定义 UIActivity .

In iOS 8.2, UIActivityViewController shows only a single row for UIActivityCategoryShare activity types if we do not provide any custom UIActivity.

iOS 8.3 之后,无论您是否提供自己的自定义 UIActivity UIActivityViewController 都会显示两行.

In iOS 8.3 onwards, UIActivityViewController shows two lines whether you provide your own custom UIActivity or not.

下面是这两个屏幕截图:

Below are the screenshots for both:

对于iOS 8.2

对于iOS 9.0

这就是Apple设计 UIActivityViewController 的方式.您可以在 UIActivityViewController 中提供自定义功能,但不能提供自定义用户界面.

This is how Apple has designed the UIActivityViewController. You can provide custom functions but not custom user interface in UIActivityViewController.

这篇关于UIActivityViewController删除底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆