2.1 Sticker Pack Applications
Sticker packs are an easy way to add engagement to your app. In this lesson I will show you how you can add them to your existing project in minutes.
1.Introduction2 lessons, 04:21
2.What's New in iOS 10?5 lessons, 32:38
3.Conclusion1 lesson, 00:51
2.1 Sticker Pack Applications
Hi, and welcome back to What's New in iOS 10. In this lesson, we'll have a look at sticker packs. With iOS 10, Apple has opened up messages to allow iMessage apps that allow custom data to be shared within the messages conversation and sticker packs. Those can be a very cheap way to create more user engagement by providing fun stickers that people can use within their conversation. You have two ways of creating sticker pack applications. If you're an artist for example and only want to provide stickers to your users, but nothing more, you can use the Sticker Pack Application template when creating a new project. If you already have an existing app, you can create a new target of type Sticker Pack Extension. It will be added to your existing app. I'm going to call it CodeStickers and activate the scheme for this target. As you can see on the left, it will create a new top level folder with just an info p-list and an asset catalog. The asset catalog is where your stickers go. When you open it, you can see that it has an iMessage app icon that will be shown when selecting the app of which you want the stickers from. And to sticker pipe folder itself. Stickers can come in three different sizes, small, medium, and large. We are going for the medium stickers. Then it is as simple as dragging and dropping image files into the sticker pack folder. The sticker pack can have 120 stickers at most. And they can be VNGs, JPEGs, or GIFs, even animated GIFs. So let's build and run to see our stickers in action. Sometimes Xcode in the simulator won't launch the message app correctly. But we can do it ourselves. As you can see when we pressed the app icon, we can see all possible sticker packs. And it seems I jumped the gun on this one. It just took a long time to launch the app. Now, we have output and the console. Let's send some messages to Kate. Check out these cool stickers and let's also send a sticker. Like an anchor maybe. Whenever you develop a message extension, you can use the simulated conversation that is provided for you. It is between Kate Bell and John Appleseed. And you can have a look at both ends. In our case, John sent a text and sticker. So when we look at the conversation, we consider receiving end. What's nice about stickers is that you can also attach them to previous messages. Let's attach some to the first one. When we have another look at the conversation from the other side, those stickers get added here as well. And you can add more from this site. To sum up, Sticker Pack Applications are very quick and easy to do. And you can add them to your existing apps as well to provide additional user engagement. And whenever you want to test the messages app, you already have a conversation between two people provided to you in the simulator where you can see and control both ends. In the next lesson, we are going to look at the new Taptic Feedback Engine that is new to the iPhone 7. See you there.