I started an Xcode project using a "single view" application template and added two lines to the ViewController class the template creates in viewDidLoad:
UITextView *textView = [[UITextView alloc] initWithFrame:CGRectInset(self.view.bounds, 10, 10)]; [self.view addSubview:textView];
In the simulator, I turned on the "Chinese simplified" Stroke keyboard.
When I use UITextView, switch to this keyboard and tap ^ _ ^ , the following errors will appear on the console:
<Error>: CGContextSaveGState: invalid context 0x0 <Error>: CGContextDrawLinearGradient: invalid context 0x0 <Error>: CGContextSetFillColorWithColor: invalid context 0x0 <Error>: CGContextFillRects: invalid context 0x0 <Error>: CGContextFillRects: invalid context 0x0 <Error>: CGContextSetFillColorWithColor: invalid context 0x0 <Error>: CGContextFillRects: invalid context 0x0 <Error>: CGContextSaveGState: invalid context 0x0 <Error>: CGContextDrawLinearGradient: invalid context 0x0 <Error>: CGContextSetFillColorWithColor: invalid context 0x0 <Error>: CGContextFillRects: invalid context 0x0 <Error>: CGContextFillRects: invalid context 0x0 <Error>: CGContextSetFillColorWithColor: invalid context 0x0 <Error>: CGContextFillRects: invalid context 0x0
This is mistake? Should I worry about this?
ios objective-c cocoa-touch uitextfield uitextview
Ben packard
source share