You have to add the framework MobileCoreServices to the project, and then import it:
Objective C:
#import <MobileCoreServices/MobileCoreServices.h>
That will make the problem go away.
Swift 4:
import MobileCoreServices
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…