Reputation: 16482
How do I check whether a string constant is defined in Objective-C?
Using UIViewControllerShowDetailTargetDidChangeNotification
on iOS 7 causes a crash.
Upvotes: 4
Views: 556
Reputation: 535047
if (&UIViewControllerShowDetailTargetDidChangeNotification) {
// ... safe to use ...
}
Upvotes: 5