iphone - how can i display a string in textView -
I have found some data, I'm converting it to a string, but it is not being displayed in the textView Can anyone help me with this
aStr = [[NSString alloc] initWithData: data encoding: NSASCIIStringEncoding];
[mTextView setStringValue: aStr];
Is there any other way to do this? MTextView is a type of outlet here. NSTextView
This does not mean that it is a UITextView < / Code>, in which case you can use [mTextView setText: aStr] .
If this is a NSTextView , then perhaps you instead of [mTextView SetString: aStr] ?
Comments
Post a Comment