Translation of Apple official document App Extension Programming Guide.