开发者

UITextView return NO when I call becomeFirstResponder in a nested modelView

开发者 https://www.devze.com 2023-03-13 20:31 出处:网络
I have UITextView in a ViewController Post which has a TextView CommentText, When I present as a model view that \"Post\" from primary viewcontroller the textView can be edited properly.

I have UITextView in a ViewController Post which has a TextView CommentText, When I present as a model view that "Post" from primary viewcontroller the textView can be edited properly.

Now I have another viewcontroller "Comments" and when I present "Comments" as a model view from MainController and then Present the "Post" from "Comments" as modelview it show the "Post'View but I can't edit the TextView, but If I present the "Post" once from primary ViewController and then I show it from "Comments" it worked properly. I checked that TextView is not null/nil in any case.

Can anyon开发者_高级运维e know where is the problem?

0

精彩评论

暂无评论...
验证码 换一张
取 消