UITextView user defined runtime placeholder attribute makes app crash - iOS 7

252 Views Asked by At

enter image description here

I have set the placeholder runtime attributes as given in the image.

It works perfectly in iOS 8+ and crashes in iOS 7 with the following issue: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UITextView 0x14bd4800> valueForUndefinedKey:]: this class is not key value coding-compliant for the key _placeholderLabel.

Can anyone help me identify the issue?

0

There are 0 best solutions below