iOS

Pitfall: Extensions MUST Be Built for iPhone/iPad

I was integrating the new feature of iOS 8 – Today Widget Extension – into one of my app, but got rejected by the Apple review team.

I was told that the Today content is not displayed. A bug?

If it is a bug, I could not replicate it. Therefore I kindly asked for more details from the reviewer.

He/She responded that the Today extension worked on iPhone, but not on iPad. And added that Per the App Extension Programming Guide all extensions are universal, even if the containing app is not.

I worked towards solving the “bug” by reading up carefully.

And I found it.

You have to set the extension target build setting Targeted Device Family to iPhone/iPad.

The default was iPhone and that’s not good enough.

Comments