1

I have been working with ECSlidingViewController for a while and never had this problem before. I am getting the following error on swiping the view to see the Menu. Anyone faced this problem before?

[UIImage imageWithUIView:]: unrecognized selector sent to class

I have all my dependencies in a Podfile.

enter image description here

enter image description here

Harish
  • 1,469
  • 16
  • 43

1 Answers1

0

Make sure that category UIImage+ImageWithUIView is added to your target.


In response to Ruchira's comment:

Unless I'm missing something, I believe that above may answer the question. The problem described by author of this question concern missing imageWithUIView method - ECSlidinViewController uses this internally.

Obviously, the problem comes from method not being available during the runtime - this indicates that method was not linked during the compilation process, so there is high chance that this category is not properly added to current target (and is not being compiled at all).

deekay
  • 899
  • 6
  • 8
  • 1
    could you please elaborate on this please. I am using Cocoa pods to manage my dependencies. I am not sure what you meant when you said, Make sure that category UIImage+ImageWithUIView is added to your target. There is a separate project for Pods itself and I looked at the target and linked binaries and everything seems okay, Let me take some screen shots and edit my question for better understanding. – Harish Aug 20 '13 at 18:46