Description
A basic sample app that I am creating builds fine but gives the following error on deploying to local machine.
I am using latest visual studio 2015 community version and win 10 sdk 14393 version and latest WINOBJC release on Feb1st
Console error
Program: ...bug\BoltsAppLinksWinObjcSample\AppX\QuartzCore.dll
File: D:\Build\Agent9_work\5\s\Frameworks\Quart...\CALayer.mm
Line: 640
Expression: 0
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)BoltsAppLinksWinObjcSample.exe has triggered a breakpoint.
my code in ViewDidLoad() method
CALayer* placeHolder = [[CALayer alloc] nit];
[placeHolder setBounds:[textView bounds]];
[placeHolder setPosition:[textView center]];
[placeHolder setBackgroundColor:[UIColor blueColor].CGColor];
[[textView layer] setMasksToBounds:false];
[[textView layer] insertSublayer:placeHolder above:[textView layer]];
[textView setBackgroundColor:[UIColor clearColor]];