美文网首页
平时的记录,待整理

平时的记录,待整理

作者: blacktee | 来源:发表于2017-12-09 15:47 被阅读0次
    - (void)dealloc{
    self.m_WebView = nil;
    
    //清除cookies
    NSHTTPCookie *cookie;
    NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
    for (cookie in [storage cookies]){
        [storage deleteCookie:cookie];
    }
    //清除UIWebView的缓存
    [[NSURLCache sharedURLCache] removeAllCachedResponses];
    NSURLCache * cache = [NSURLCache sharedURLCache];
    [cache removeAllCachedResponses];
    [cache setDiskCapacity:0];
    [cache setMemoryCapacity:0];
    }
    

    电子书阅读器开发 (一)

    10分钟适配 iOS 11 & iPhone X

    ios - 用UICollectionView实现瀑布流详解

    iOS小技巧积累

    关于iOS性能优化

    减小iOS应用程序的大小

    iOS 保持界面流畅的技巧

    iOS开发:iPhone尺寸和适配 - 简书

    iPhoneX 适配-简书

    phoneGap

    SceneKit开发关于加载obj格式文件的处理

    UIImage离屏渲染和当前屏幕渲染

    局部折叠(折叠一个函数) :Command+Option+Left/Right

    全局折叠(折叠当前文件下的全部函数):Shift+Command+Option+Left/Right

    折叠注释块:(/* */之间的文字) : Ctrl+Shift+Command+Left/Right

    相关文章

      网友评论

          本文标题:平时的记录,待整理

          本文链接:https://www.haomeiwen.com/subject/nuheixtx.html