2016年6月2日

摘要: //方法一 NSString *appDomain = [[NSBundle mainBundle] bundleIdentifier]; [[NSUserDefaults standardUserDefaults] removePersistentDomainForName:appDomain]; 阅读全文
posted @ 2016-06-02 15:20 张俊凯 阅读(215) 评论(0) 推荐(0)
摘要: 今天遇到了这个需求,于是抽出了这个方法,代码如下: //把字符串替换成星号 -(NSString *)replaceStringWithAsterisk:(NSString *)originalStr startLocation:(NSInteger)startLocation lenght:(NS 阅读全文
posted @ 2016-06-02 14:59 张俊凯 阅读(3745) 评论(0) 推荐(0)
摘要: 今天遇到了这个需求,于是抽出了这个方法,代码如下: //把字符串替换成星号 -(NSString *)replaceStringWithAsterisk:(NSString *)originalStr startLocation:(NSInteger)startLocation lenght:(NS 阅读全文
posted @ 2016-06-02 14:52 张俊凯 阅读(420) 评论(0) 推荐(0)

导航