Alright, let's discuss the activity and the activity view. An activity is a task, such as copy, favorite or fine, that's useful in the current context. Once initiated, an activity can perform a task immediately, or ask for more information before proceeding. An activity is represented by an icon and a title. Activities are managed by an activity view, which are beers as a sheet or popover, depending on the device and orientation. The system provides a number of built in activities, including print, Twitter, message and airplay, use built in tasks wherever possible and applicable and create your custom ones.
If needed. The system provided activities always appear first in activity views, and cannot be reordered. Activity views also displays share and action extensions. from other apps, you can create a custom activity to give users access to a custom service or task that your app can perform. There is a difference between a regular customer activity and an action extension. Custom activity is available only in your app, while an extension makes it available system wide.
Design simple template images to represent your custom activities. A template image uses a mask to create an item. Use black and white with appropriate transparency and anti aliasing and don't include a drop shadow. template images should be centered in an area measuring about 70 by 70 pixels. In general, follow the custom icon design recommendations. Craft activity titles that succinctly describe your tasks.
Titles appear below the icons in an activity view. Short titles work best when the title is too long is for strength attacks and then if the title is still too long, it truncates it. In general, avoid including your company or product name in the title. Make sure activities are appropriate for the current context. Although system provided tasks cannot be reordered in an activity, they can be excluded if they are not applicable to your app. For example, to prevent people from printing images, you can exclude the print activity.
You can also identify which custom tasks to show at any given time. Use the action button to display an activity view. People are accustomed to accessing system provided activities when they tap this action button. Avoid confusing people by providing an alternative way to do the same thing.