Error after adding YahooSDK

I use this YahooSDK to develop a project.

The demo application in this project works great. But whenever I try to add a folder YahooSDKto my project, I get errors.

No type or protocol named 'UIWebViewDelegate' Unknown type name 'UIWebView', Unknown type name 'UIViewController'

Abstract errors are not displayed in the source project. Should this do something with versions of Xcode? I am using 7.1.

+4
source share
1 answer

You just need to import the UIKit header.

#import <UIKit/UIKit.h>in the file YahooSession.h.

This will fix your problem.

+3
source

Source: https://habr.com/ru/post/1628935/


All Articles