i want to implement the new ActivityViewController of iOS6, but i want to get rid of the unused activities like message, copy, sharing on weibo, etc..
Is it possible to customize or subclass it to remove those icons?
Thanks for your help!
i want to implement the new ActivityViewController of iOS6, but i want to get rid of the unused activities like message, copy, sharing on weibo, etc..
Is it possible to customize or subclass it to remove those icons?
Thanks for your help!
Copyright © 2021 Jogjafile Inc.
Ok, i found a solution by myself to customize the UIActivityViewController:
if you want to get rid of sharing options like weibo, facebook, etc... its totally simple, just set the ExcludedActivityTypes property:
If you want to add another Activity (button or image, etc.) you need so subclass the UIActivity and overwrite some methods like activityType and activityImage.
i.e.
You this helps you guys too!