I am trying to take control of the subject line in the Messages App. Right now I am just trying to display text in the Subject field.
The main issue I have is to get the compiler to recognize _subjectLine
as a valid view. This is what I get if I try and do anything to/with _subjectLine
:
Tweak.xm:8: error: ‘_subjectLine’ was not declared in this scope
I don't have any idea how to declare an already existing item to use in a tweak. The standard declarations that I use in Xcode, typically found in a header file, don't seem to work the same.
I've been googling around for about a week now. The most common tutorial or information I found was to do just simple: when method activates – display alert. I can do that, no problem. However, I need to use an already existing object.