Functions
The following functions are available globally.
-
Looks up a localized string for CameraKit’s reference UI.
Declaration
Swift
public func CameraKitLocalizedString( key: String, bundle: Bundle? = nil, preferredLanguages: [String] = NSLocale.preferredLanguages, comment: String?, table: String? = nil ) -> StringParameters
keykey to lookup.
bundleexplicit bundle to look up key for. If omitted, uses the CameraKit Reference UI bundle.
preferredLanguagesa list of language codes in order of preference.
commentany comments on the string.
tablean explicit strings table to reference.
Return Value
a localized string, if one is available for the languages specified, otherwise the English string (and the key, if neither are found).
Functions Reference