UIViewController retain count problem

前端 未结 4 1257
我寻月下人不归
我寻月下人不归 2021-01-25 16:11

I am creating a new UIViewController with the below code

GameViewController *temp = [[GameViewController alloc] initWithNibName:@\"GameViewController\" bundle:ni         


        
4条回答
  •  暖寄归人
    2021-01-25 16:54

    "You should never use retainCount". Here is a very good description, why to not: stackoverflow

提交回复
热议问题