240 发简信
IP属地:北京
  • 问题 解决,手动点赞

    Charles 抓包 Client SSL handshake failed - Remote host closed connection during handshake

    Charles 抓包 https 报错: Client SSL handshake failed - Remote host closed connection during...

  • 大佬,初始化创建UIWindow报错是什么原因,代码部分只写了
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

    Thread 1: signal SIGABRT,
    log输出2019-10-22 17:48:17.002351+0800 UIWindow[43595:21228691] -[AppDelegate setWindow:]: unrecognized selector sent to instance 0x600002c9c200
    2019-10-22 17:48:17.005361+0800 UIWindow[43595:21228691] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppDelegate setWindow:]: unrecognized selector sent to instance 0x600002c9c200'

    UIWindow

    对于这几句代码,作为开发者应该都再熟悉不过了,现在我们就来深入了解一下: 1.通常,XCode提供应用程序的主窗口. 所以你可以直接用,即 self.window一般而言,我...