iOS 10:为现有应用程序添加贴纸扩展 [英] iOS 10 : Add sticker extension to an existing Application

查看:136
本文介绍了iOS 10:为现有应用程序添加贴纸扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的应用程序制作一个 iOS 贴纸包。
我一直在寻找,我设法通过Xcode做贴纸应用程序。
我的问题是我不想要一个独立的贴纸应用程序。用户永远不会去商店单独下载。

I want to make an iOS sticker pack for my application. I've been looking around and I managed to do a sticker app via Xcode. My problem is that I don't want a stand-alone sticker app. Users will never go to the store to download it separately.

我希望贴纸包含在我的经典应用中,比如额外:你已经下载了应用程序,谢谢你,这里有你可以在消息中使用的贴纸。

I want the sticker to be include in my classic app, like an "extra" : "You've downloaded the app, thanks you, here are stickers you can use in message".

我试图做添加目标,如解释其他

I've tried to do "Add Target" like explained here

但是当我运行我的应用程序时,我可以在我的消息应用程序中看到我的视图控制器而不是我的贴纸。

But when I run my app, I can see my view controller but not my sticker in my messaging app.

有人可以帮我吗?

推荐答案

如果您不想将它用作独立应用程序,那么您必须将其用作app.Open文件中的扩展程序 - >新建 - >目标并添加贴纸应用程序扩展名。为贴纸包扩展名添加一个名称。还要在您的应用程序中添加消息框架。检查模拟器。在设备上,您将需要新的配置文件,其中应用程序ID对应于贴纸包装延期。我已经验证了我的结尾

If you dont want to use it as a standalone app then you have to use it as a extension in your app.Open File->New->Target and add sticker app extension.Give a name to your sticker pack extension.Also add messages framework in your application.Check in simulator.On device you will be requiring new provisioning profile with the app id corresponding to the sticker pack extension.I have verified at my end

这篇关于iOS 10:为现有应用程序添加贴纸扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆