iOS Action Extension Sample Code Not Working

前端 未结 2 407
难免孤独
难免孤独 2021-01-25 05:52

The iOS Action Extension sample code does not seem to work.

  1. In xCode, I create a new Swift project and choose Single View Application.

  2. Then I se

2条回答
  •  广开言路
    2021-01-25 06:31

    I found a solution: create the project and app extension in Objective C, instead of Swift, and everything works fine. So apparently there is a bug in the Swift implementation.

提交回复
热议问题