I have UITextView *_masterText
and after call method setText
property font is being reset.
It's happening after I change sdk 7.
_masterText is IBOutlet
, global and properties are set in storyboard. It's only me or this is general SDK bug?
@interface myViewController : UIViewController
{
IBOutlet UITextView *_masterText;
}
@implementation myViewController
-(void)viewWillAppear:(BOOL)animated
{
[_masterText setText:@"New text"];
}
Sitting with this for hours, I found the bug. If the property "Selectable" = NO it will reset the font and fontcolor when setText is used.
So turn Selectable ON and the bug is gone.