iOS - setting text of UITextView throws EXC_BAD_ACCESS
问题 I have a UITextView which I have created programmatically in the following code: NSLog(@"creating the first blurb"); blurb = [[UITextView alloc]initWithFrame:CGRectMake(0, 0, 320, 50)]; [blurb setText:total]; blurb.backgroundColor = [UIColor redColor]; where blurb is defined as a UITextView in the @interface . Here's where I'm having the problem: total is an NSString that is defined to get the text from a .txt file from a specified domain. It is mutated as: NSString *url = @"https://sites