Xcode won't compile UTType class methods

I'm having trouble using any of the UTType class methods

When I try to use any of the class methods such as:

`

UTType          *foo;

foo = [UTType typeWithIdentifier: @"foo" ];

Xcode displays the error:

No known class method for selector 'UTTypeImage'

Is there a header file I need to #import?

Answered by Bruce D M in 738136022

I found it:

#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>

#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>

Accepted Answer

I found it:

#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>

Xcode won't compile UTType class methods
 
 
Q