leizh00701
leizh00701

Reputation: 1963

Error occurs when using cocoapods?

I am using a library called MZFormSheetController, and I put it in to my program using cocoapods ,when the app runs ,it tell me there's error in the library. enter image description here

enter image description here

I seems it cannot recognize the UIViewController? what's going on?

Upvotes: 0

Views: 70

Answers (1)

Michal Zaborowski
Michal Zaborowski

Reputation: 5099

You are missing UIKit framework import. You have to @import UIKit;

Upvotes: 1

Related Questions