0

I'm trying to integrate IQKeyboardManager in my application. Due to few existing constrains I can only drag and drop the library into my project. However when I try to compile the project I get the following errors. enter image description here

I'm using Objective-C and targeting iOS 11.0.

Please help me know what I'm missing here.

Thanks.

holex
  • 23,961
  • 7
  • 62
  • 76
Prateek Raj
  • 3,966
  • 6
  • 39
  • 50

1 Answers1

0

I tried "__weak IQKeyboardManager *weakSelf = self;" and "__strong IQKeyboardManager *strongSelf = weakSelf;"

instead of "__weak typeof(self) weakSelf = self;" and "__strong typeof(self) strongSelf = weakSelf;"

This cleared my issue.

Can anyone please suggest why this was happening.

Prateek Raj
  • 3,966
  • 6
  • 39
  • 50