I made an Apple Watch App with Complication and activated the Modular Small one. I added the following code to ComplicationController.swift but I only get a square icon. Trying to put text or an image in it don't do anything.
func getPlaceholderTemplate(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationTemplate?) -> Void) {
var template: CLKComplicationTemplate?
switch complication.family {
case .modularSmall:
template = CLKComplicationTemplateModularSmallSimpleText()
(template as! CLKComplicationTemplateModularSmallSimpleText).textProvider = CLKSimpleTextProvider(text: "R")
default:
template = nil
}
handler(template)
}