title: Change "slide to unlock" text color iOS
body: <p>So, what's the question: I'm trying to change "slide to unlock" text color on lockscreen. I'm using Theos to hook SBAwayLockBar class and -(void)_setLabel:(id)label method. Here's my Tweak.xm:</p>
  
  <pre><code>#import &lt;SpringBoard/SpringBoard.h&gt;
  
  %hook SBAwayLockBar
  -(void)_setLabel:(id)label {
  
  label = @"text";
  
  %orig;
  }
  %end
  </code></pre>
  
  <p>And this is all what I can do with "slide to unlock" text. I have tried to change <code>(id)label</code> to <code>(UILabel *)label</code>, but my iPhone went to Safe mode after respring. So, which other method I need to call, or which type must the "slide to unlock" label be to I have ability to change its color?</p>
  
  <p>Thanks!</p>
  
  <p>UPDATE:</p>
  
  <p>I wrote this code</p>
  
  <pre><code>#import &lt;SpringBoard/SpringBoard.h&gt;
  
  static NSString *cont;
  
  %hook SBAwayLockBar
  
  -(void)_setLabel:(id)label {
  
  cont = label;
  
  NSString *giantSpace = @" ";
  
  for(int i = 0; i &lt;= [cont length] * 2; i++) {
  
      giantSpace = [NSString stringWithFormat:@"%@ ", giantSpace];
  
  }
  
  label = giantSpace;
  
  %orig;
  
  }
  
  %end
  
  
  %hook TPLockTextView
  
  -(void)drawRect:(CGRect)rect {
  
  NSString *string = cont;
  
  [[UIColor whiteColor] set]; 
  [string drawInRect:rect withFont:[UIFont systemFontOfSize:19]];
  
  %orig;
  
  }
  
  %end
  </code></pre>
  
  <p>, but it draws a new label with the same text as in original label and colorises the new label instead of original. What am I supposed to do/add/edit now? 
  Thanks!</p>