kelvin yan

Results 5 comments of kelvin yan

still not work on ios 14.4.2 and xcode 12.4, I have set local network privacy and bonjourservice in info.plist, and privacy alert window showed , I accept it. but when...

> 是在Window的rootViewController 初始化的时候初始化的YYTextView吗? 如果是这样的话, 将YYTextView的初始化移到viewDidLoad中或者采用懒加载的形式可以解决这个问题。 不能直接写在viewdidload里面,需要异步添加 ``` dispatch_async(dispatch_get_main_queue(), ^{ YYTextView *textView = [[YYTextView alloc] initWithFrame:CGRectMake(100, 200, 100, 100)]; [self.view addSubview:textView]; }); ```

info.plist add "Privacy - Local Network Usage Description "

change @property(readonly) CGPoint CGPoint; to @property(readonly) CGPoint point; will be ok