Git.Coach
Git.Coach

Reputation: 3092

Widget Simulator does not display elements of "Today Extension”

I want to implement the “Today Extension” feature into one of my applications. I successfully added the extension, gave it a run and saw the “Hello World” screen on the simulator. I then deleted the "Hello World” label, and added my own labels to the view. Nothing spectacular and really nothing I thought which would make me any trouble…

Now when I run the widget all I get is an empty Simulator:

Empty Simulator

Things I tried:

It does seem like I’m working on the wrong view. But it is in fact the same view which displayed me the “Hello Word” label. Am I missing something? (@Moderator: I suggest adding the following tags: osx-today-widget, widget-simulator. Thanks in advance.)

Upvotes: 1

Views: 1164

Answers (1)

Thomas Krajacic
Thomas Krajacic

Reputation: 2747

Without the code it is hard to say, but maybe this helps:

what text color does your label have? make sure to give it "Control text color"

what is your minimum height> click the "Custom view" in your xib file (the root view) and click Editor > Pin > Height. Set it to 200 and "greater or equal than"

Upvotes: 3

Related Questions