iOS 10 : Add sticker extension to an existing Application

穿精又带淫゛_ 提交于 2019-12-09 07:53:33

问题


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.

Can someone help me please ?


回答1:


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



来源:https://stackoverflow.com/questions/39506728/ios-10-add-sticker-extension-to-an-existing-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!