17

I'm working on a Today Extension for iOS8. My App Group is set up correctly and I can successfully use NSUserDefaults to send simple bits of data to my extension (using this tutorial).

In the storyboard for my extension, I've placed an image onto the storyboard and set the image to be an asset I have in my Asset Catalog. Even though it appears in Interface Builder, when I run the app on a device and simulator the image doesn't display.

What am I missing?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Andrew Davis
  • 2,310
  • 1
  • 24
  • 43

1 Answers1

49

Make sure the asset catalog is included in the target for your Today extension.

jlw
  • 3,166
  • 1
  • 19
  • 24
  • 15
    Thank you. For anyone looking for this, select the .xcassets from the Navigator, then in the Utility menu (right side), you can set the Target Membership in the File Inspector tab. – Andrew Davis Sep 22 '14 at 11:35