<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>年年有&quot;余&quot; - 经验分享</title>
    <link>https://www.yusian.com/bbs/forum-share-1.html</link>
    <description>Latest 20 threads of 经验分享</description>
    <copyright>Copyright(C) 年年有&quot;余&quot;</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 02 Jul 2026 07:10:03 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.yusian.com/bbs/static/image/common/logo_88_31.gif</url>
      <title>年年有&quot;余&quot;</title>
      <link>https://www.yusian.com/bbs/</link>
    </image>
    <item>
      <title>缘信IM社交聊天即时通讯源码出售转让</title>
      <link>https://www.yusian.com/bbs/thread-11232-1-1.html</link>
      <description><![CDATA[缘信IM社交聊天即时通讯源码出售转让




Android端+iOS端+服务端+PC端+web+H5
全平台源代码，全行业最低价，火爆出售中
支持万人大群，系统并发量大，性能超稳定，已经过上百家客户使用验证
架构成熟，成品稳定系统，可直接上线使用
支持二次开发，大量节约成本， ...]]></description>
      <category>经验分享</category>
      <author>dfghj</author>
      <pubDate>Tue, 16 Jun 2020 12:42:48 +0000</pubDate>
    </item>
    <item>
      <title>Declaration of \'objc_property_t\' must be imported from module \'ObjectiveC.run</title>
      <link>https://www.yusian.com/bbs/thread-11165-1-1.html</link>
      <description><![CDATA[Declaration of \'objc_property_t\' must be imported from module \'ObjectiveC.runtime\' before it is required

如果提示这个错误信息，加头文件#import]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 08 Apr 2016 02:38:03 +0000</pubDate>
    </item>
    <item>
      <title>谈谈数组的浅拷贝和深拷贝（copy &amp; mutableCopy）</title>
      <link>https://www.yusian.com/bbs/thread-11158-1-1.html</link>
      <description><![CDATA[1、基本分析
1.1、数组有两种形式，NSArray和NSMutableArray；
1.2、拷贝也有两个方法copy和mutableCopy；
1.3、那么相互组合就会有四种情况：NSArray的copy、mutableCopy；NSMutableArray的copy、mutableCopy；

2、代码验证
2.1、先创建一个NSObject对象与一个NSArray ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Sun, 13 Mar 2016 09:30:57 +0000</pubDate>
    </item>
    <item>
      <title>[BMKGradient generateColorMap:resultColorMap:]: unrecognized selector sent to...</title>
      <link>https://www.yusian.com/bbs/thread-11142-1-1.html</link>
      <description><![CDATA[: unrecognized selector sent to instance 0x7fae64f32260

如题，这么恶心的一个问题，找了好久，百度上也找不到相关答案，最后还是问Google问出来的！

解决方案是在Build Settings--Linking--[Other Linker Flags]中添加一个“-ObjC”,即可搞定！

附加百度添加热力 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Mon, 29 Feb 2016 14:46:45 +0000</pubDate>
    </item>
    <item>
      <title>越狱手机获取通话记录~</title>
      <link>https://www.yusian.com/bbs/thread-11105-1-1.html</link>
      <description><![CDATA[[mw_shl_code=objc,false] //获取私有db文件
-(void)getVarPrivateDbFilevoid (^)(NSString *result))completion{
    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSDirectoryEnumerator *dirEnumer = [fileManager enumeratorAtPath\&quot;/priv ...]]></description>
      <category>经验分享</category>
      <author>844517815@qq.co</author>
      <pubDate>Wed, 17 Feb 2016 03:48:40 +0000</pubDate>
    </item>
    <item>
      <title>极光推送SDK编译报错</title>
      <link>https://www.yusian.com/bbs/thread-10811-1-1.html</link>
      <description><![CDATA[Undefined symbols for architecture arm64:
  \&quot;_OBJC_CLASS_$_CTTelephonyNetworkInfo\&quot;, referenced from:
      objc-class-ref in libPushSDK-1.8.4.a(JPFUtilities.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with ex ..]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Wed, 22 Jul 2015 01:56:32 +0000</pubDate>
    </item>
    <item>
      <title>The app references non-public selectors in Sink: setGeometryDelegate:</title>
      <link>https://www.yusian.com/bbs/thread-10706-1-1.html</link>
      <description><![CDATA[很多人在App开发结束后提交苹果商店上传包时遭到拒绝，还未提交审核哦，刚上传完还在预发行里，构建版本为“无效的二进制文件”，苹果发来“贺电”，拒绝理由为：


[*]The app references non-public selectors in xxxx: setGeometryDelegate:

这句话的大概意思是说， ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 03 Jul 2015 08:48:46 +0000</pubDate>
    </item>
    <item>
      <title>轻松实现UIScrollView循环滚动</title>
      <link>https://www.yusian.com/bbs/thread-10701-1-1.html</link>
      <description><![CDATA[1、先上图



2、应用场景

2.1、多个视图需要循环播放，一般情况下有多少个视图创建个多少个View排列在ScrollView即可，但如果视图过多会直接影响到手机性能及切换效果。

2.2、视图个数不确定的场景，绝大多数情况下我们都采用的是MVC的标准设计模式，即视图由数据决 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Wed, 01 Jul 2015 07:03:23 +0000</pubDate>
    </item>
    <item>
      <title>iOS开发中菊花的使用（UIActivityIndicatorView）</title>
      <link>https://www.yusian.com/bbs/thread-10689-1-1.html</link>
      <description><![CDATA[1、老规矩，先上图



2、基本使用

2.1、初始化
UIActivityIndicatorView *loading = [ initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
系统默认有三种类型可选，主要是大小颜色区别
typedef NS_ENUM(NSInteger, UIActivityIndicatorViewStyle) { ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 26 Jun 2015 09:49:31 +0000</pubDate>
    </item>
    <item>
      <title>如果去掉webView底部的黑条</title>
      <link>https://www.yusian.com/bbs/thread-10688-1-1.html</link>
      <description><![CDATA[UIWebView底部有个黑条很难看，特别是在底部还有透明控件的时候，隐藏的做法其实很简单，只需要将opaque设为NO即可。]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 26 Jun 2015 08:48:22 +0000</pubDate>
    </item>
    <item>
      <title>ios7 Uitableview Group模式顶部有个空白</title>
      <link>https://www.yusian.com/bbs/thread-10677-1-1.html</link>
      <description><![CDATA[1、看图说话：



2、在plain模式下是看不类似东西的，有几种方式可以去掉该空白：

2.1、通过设置sectionHeaderHeight属性消除
self.tableView.sectionHeaderHeight = 0;
这种方式不完全好用，有时候不能完全消除，再往下走。

2.2、通过tableView的contentInset属性将 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Tue, 23 Jun 2015 02:32:36 +0000</pubDate>
    </item>
    <item>
      <title>关于sizeWithFont要说几句</title>
      <link>https://www.yusian.com/bbs/thread-10636-1-1.html</link>
      <description><![CDATA[1、在iOS7之前，动态布局场景中，由于初始化UILable的大小与实际需要显示的文字内容有时候会冲突，简单一点讲UILable初始时设小了，文字过多显示不完，或者初始设置太大了，文字较少，显示效果过于空荡。

2、如何解决这个问题呢，一般需要用到NSString的两个相关方法： ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Mon, 15 Jun 2015 07:24:08 +0000</pubDate>
    </item>
    <item>
      <title>如何让iOS项目支持中文（控件显示中文）</title>
      <link>https://www.yusian.com/bbs/thread-10628-1-1.html</link>
      <description><![CDATA[1、在项目开发中，有些系统自带的控件（如：拍照、搜索等）上带有Lable或Button，然而默认情况下显示的都中英文，如下所示：

 

2、将本地语言换成中文结果还是显示英文，这是如何？有些同志们通过各种subViews及superView加for循环加kindOfClass等一系统方式方法找到 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Thu, 11 Jun 2015 01:30:29 +0000</pubDate>
    </item>
    <item>
      <title>如何解决百度地图反地理编码失败的问题！！</title>
      <link>https://www.yusian.com/bbs/thread-10618-1-1.html</link>
      <description><![CDATA[我们在使用百度地图定位成功后，一般会使用反地理编码的方式进行地址解析，获取地址信息供我们应用使用，如下方法所示：
[mw_shl_code=objc,false]// 获取地址位置后调用方法
- (void)didUpdateBMKUserLocationBMKUserLocation *)userLocation
{
/*
    code for loca ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 05 Jun 2015 16:31:07 +0000</pubDate>
    </item>
    <item>
      <title>kCLErrorDomain Code=0终极解决方案！</title>
      <link>https://www.yusian.com/bbs/thread-10617-1-1.html</link>
      <description><![CDATA[1、在使用百度地图时，定位失败一般会报两种错：
Error Domain=kCLErrorDomain Code=0 \&quot;The operation couldn’t be completed. (kCLErrorDomain error 0.)\&quot;
Error Domain=kCLErrorDomain Code=1 \&quot;The operation couldn’t be completed. (kCLErrorDomain error 1.)\&quot;
即 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 05 Jun 2015 16:12:48 +0000</pubDate>
    </item>
    <item>
      <title>为什么[NSURL URLWithString:string]为nil ?</title>
      <link>https://www.yusian.com/bbs/thread-10614-1-1.html</link>
      <description><![CDATA[网络请求的基本套路：
1、NSString *string = @\&quot;http://www.yusian.com\&quot;;
2、NSURL *url = [NSURL URLWithString:string];
3、NSURLRequest *request = [NSURLRequest requestWithURL:url];
4、[self.webView loadRequest:request];

然而有时候页面却没有任何内容，何 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 05 Jun 2015 04:21:52 +0000</pubDate>
    </item>
    <item>
      <title>UISearchBar与UISearchDisplayController</title>
      <link>https://www.yusian.com/bbs/thread-10608-1-1.html</link>
      <description><![CDATA[1、一开始呢我是搞不清楚这两个东西有什么关系，或者说UISearchDisplayController我根本就没用过，那么就先来看下UISearchBar的使用效果

2、UISearchBar是个搜索工具条，这个控件的工作原理非常简单，他与UITextField其实有点像，能够监听开始搜索，搜索词变化，搜索结 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Mon, 01 Jun 2015 05:59:53 +0000</pubDate>
    </item>
    <item>
      <title>iOS8.1.3下Inhouse App无法安装问题</title>
      <link>https://www.yusian.com/bbs/thread-10595-1-1.html</link>
      <description><![CDATA[问题：企业App，以Inhouse方式发布，在iOS 7.0中可以正常安装该App，但在iOS8.1.3上无法安装。

解决方法：设置Build Setting中的Code Signing Entitlements，为App指定一个entitlements.plist文件。并在entitlements.plist文件中指定application-identifier为Bundle ID ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Mon, 25 May 2015 07:38:39 +0000</pubDate>
    </item>
    <item>
      <title>关于UIView的alpha属性的探讨</title>
      <link>https://www.yusian.com/bbs/thread-10586-1-1.html</link>
      <description><![CDATA[1、UIView的alpha属性指的是视图的透明度，该属性值取值0~1，如果为0则说明视图为全透明，如果为1则完全不透明，我们通过示例来说明问题，先看原效果图



该窗口上一共有4个View，最底层为风景图，风景图上面为一个红色的View，红色View上面有两个子View，分别为蓝色Vi ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 22 May 2015 15:03:40 +0000</pubDate>
    </item>
    <item>
      <title>使用AVFoundation自定义相机如何调整相机焦距</title>
      <link>https://www.yusian.com/bbs/thread-10581-1-1.html</link>
      <description><![CDATA[1、如何使用AVFoundation框架自定义相机请先参照 http://www.yusian.com/bbs/thread-10503-1-1.html 

2.1、上述帖子中有讲到，如果需要对焦，可以通过AVCaptureDevice的setFocusPointOfInterest:方法来实现，传入一个CGPoint值，但这里的CGPoint不是View上面的点，而是 ...]]></description>
      <category>经验分享</category>
      <author>Sian</author>
      <pubDate>Fri, 22 May 2015 06:16:41 +0000</pubDate>
    </item>
  </channel>
</rss>