import UIKit to fix protocol not find bug on iOS 8.1 sdk.