iOS 8 - Disable iCloud Photo Sharing Activity

前端 未结 2 887
情歌与酒
情歌与酒 2021-02-15 10:08

Apparently iOS8 by default adds a \"iCloud Photo Sharing\" activity to activity views in iOS8 and I haven\'t found any useful documentation regarding it, especially how to expli

2条回答
  •  清酒与你
    2021-02-15 11:02

    Normally you'd set the excludedActivityTypes property on your UIActivityViewController instance -- e.g., to exclude posting to Facebook, you'd put UIActivityTypePostToFacebook in that array.

    But it doesn't look like the Built-in Activity Types list (either in the documentation or in UIActiviy.h) includes a constant for iCloud Photos. That's probably worth filing a bug about.

提交回复
热议问题