0

I want to expand image after tapping so I used pods to install it but after that it didn't works and I got this Error

No such module in AKImageViewerViewController.h

    import UIKit
    import AKImageViewerViewController.h
class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        var aKImageViewerViewController: AKImageViewerController = AKImageViewerViewController()
        aKImageViewerViewController.image = UIImage.imageName("lion.png")
        aKImageViewerViewController.imgCancel = UIImage.imageNamed("btn_cancel.png")
        self.view.addSubview(aKImageViewerViewController.view)
        aKImageViewerViewController.centerPictureFromPoint(CGPointMake(0, 0), ofSize: CGSizeMake(30, 30), withCornerRadius: 1.0)
    }

header

#import "AKImageViewerViewController.h"

I did check the build settings and updated it but didn't works I uploaded the project https://www.dropbox.com/s/cjk38qh8lf58rkg/imageFU.zip?dl=0

rmaddy
  • 314,917
  • 42
  • 532
  • 579
marrioa
  • 1,265
  • 4
  • 14
  • 29

1 Answers1

1

try

If the frameworks are placed in your project directory, simply set the framework search path to $(SRCROOT) and set it to recursive.

is not in import AKImageViewerViewController.h, it is import AKImageViewerViewController

Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143