2017年

作者: the宇亮 | 来源:发表于2017-03-28 17:11 被阅读0次

    1.一些可能有用的网站

    1. git代码托管网站
      https://coding.net/
    2. Bmob后端云
      http://www.bmob.cn/
    3. 视频通话开源项目
      https://webrtc.org/
    4. 声网
      http://www.agora.io/cn/
    5. 网易云信
      http://netease.im/

    2.安装xCode插件导致xCode使用时崩溃的问题

    • 解决方法,卸载该插件如KSImageNamed.xcplugin,插件安装目录为
      ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

      ~/Library/Developer/Xcode/Plug-ins
      参考资料

    3.通过类名字符串创建对像

    Class c = NSClassFromString(@"HTTabBarController");
    UITabBarController *tabbarController = [[c alloc] init];
    
    NSStringFromClass([HTTabBarController class]);  //另外这个是或获得类名字串
    

    4.用代码打开设置界面

    [[UIApplication sharedApplication] openURL:[NSURL  URLWithString:UIApplicationOpenSettingsURLString]];
    

    5.下载设置字体

    http://blog.devtang.com/2013/08/11/ios-asian-font-download-introduction/
    注意要在kCTFontDescriptorMatchingDidFinish分支,用
    dispatch_async( dispatch_get_main_queue(), ^ {}方式来修改UI上的字体,要不然要很就才有响应。

    6.集成花椒直播SDK时遇到的问题。

    http://www.jb51.net/article/113798.htm
    在Build Phases中点+号添加一个copy files,destination选为Frameworks再将SDK的framework拖入就可以了。

    相关文章

      网友评论

          本文标题:2017年

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