Weston
Weston

Reputation: 1491

How to make an app use Growl on Lion and Notification Center on Mountain Lion?

I am making an app that uses notification center on mountain lion. I included support for growl on snow leopard and lion. How do I make it so the binary will be able to run on both and not require 2 separate .app bundles.

Upvotes: 3

Views: 456

Answers (1)

Thilo
Thilo

Reputation: 262684

I guess you would be building an app against the Growl framework and 10.7, and then have code to check at startup if Notification Center is available (which it will be on 10.8+) and use that instead. There is a very similar question about the process here.

Upvotes: 1

Related Questions