<分区>
我有一个登录 View 页面,一旦登录被验证,它应该转换为一个选项卡 View Controller 。但是,在 session.dataTask 中实例化 View 时出现错误
[24249:381955] [Animation] +[UIView setAnimationsEnabled:] being called from a background thread. Performing any operation from a background thread on UIView or a subclass is not supported and may result in unexpected and insidious behavior.
结果是
terminating with uncaught exception of type NSException
如何验证用户并在从服务器验证后将他带到主页?