triadamg.blogg.se

Swift share url
Swift share url






swift share url swift share url

UIActivityViewController class is the one responsible for sharing feature in iOS, and this class uses excludedActivityTypes property that contains an array of strings to specify services to be excluded. The share system in iOS also allows a source service to control the service list for sharing. It also makes adding or deleting a service in the wish list easier for each source service. As the wish list is included in includedShareActivityTypes, it is now easier to find out relations between services in the code. Consequently, it is not guaranteed that these designated services will be displayed on the share sheet, and they are more like service candidates. Services designated with includedShareActivityTypes are filtered by content type as explained below. For example, when Album calls the Share module, it comprehensively designates "Keep, Timeline and other Apps" for sharing, using the includedShareActivityTypes parameter. We designed it so that each service could enter a service wish list when the Share module was called. Eligible services based on the combination of Area and Source type are marked on the right. The Area column on the far left shows a list of source services and Source type indicates the type of selected content for sharing. Figure 6 below lists up eligible services per source service and content type. LINE supports various types of services and content. For example, Album can handle images only. → Block sharing when texts or videos are selected.The target service determines the type of content for sharing.→ Displayed only when the share sheet is opened in a chatroom. For example, Album and Notes can be used only in Chats.

swift share url

  • The source service determines which target services can be selected for sharing.
  • The list of eligible services on the share sheet is selected based on the following two conditions. Let's take a look at how it is designed to filter eligible services. This list depends on the type of the source service and selected content.








    Swift share url