Text-to-Speech Options and Adding a Language Preference Menu to your iOS Story Book App

Text-to-Speech Options and Adding a Language Preference Menu to your iOS Story Book App
August 31, 2015 Justin at CartoonSmart

Text-to-Speech Options and Adding a Language Preference Menu to your iOS Story Book App

This video discusses how you can add a menu to your app where the reader can choose their preferred language. This is a bit more flexible than adding localization to your iOS app, since the Language value can be anything you want: Klingon, Elvish, Fairy, whatever.

The Language value can then be used to make an SKLabelNode’s text change depending on the user’s preference. So for example, a welcome message might read “Hi” or “Hola” if the Language is English or Spanish. Or Hija’ if the language is Klingon.

This video also discusses how you can use the kit’s Text-to-Speech properties to read text from a label. Or you can tap an Element and read any text.

Finally you can change accents for the text-to-speech reader, the pitch, speed, volume and more!

The Story Teller’s iOS Starter Kit 2 is Swift 2 and SpriteKit based, and uses the latest version of Xcode (currently Xcode 7)