自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(11)
  • 资源 (3)
  • 收藏
  • 关注

原创 iOS Widget快速浏览页面的创建以及证书添加标识符

创建 如下图选择  NEXT填好 Product Name  文件名选择  Finish  创建好了- (void)viewDidLoad {    [superviewDidLoad];    // 打开时的高度    self.preferredContentSize =CGSizeMake([UIScreen

2016-12-28 19:25:19 706

原创 iOS collectionView返回顶部

//  方法一[_collectionViewscrollToItemAtIndexPath:[NSIndexPathindexPathForRow:0inSection:0]                           atScrollPosition:UICollectionViewScrollPositionNone

2016-12-27 11:38:25 2040

原创 iOS tableView与collectionView的样式切换以及间距问题处理

#define ScreenWidth ([UIScreen mainScreen].bounds.size.width)#define Screenheight ([UIScreen mainScreen].bounds.size.height)@property (weak,nonatomic) IBOutletUICollectionView *collectionV

2016-12-27 11:02:22 1314

原创 iOS tableView滚动至第一行

// 方法一[_tableViewsetContentOffset:CGPointMake(0,0)animated:NO];// 方法二[weakself.tableViewscrollToRowAtIndexPath:[NSIndexPathindexPathForRow:0inSection:0]atScrollPosition:UITableViewScrollPosit...

2016-12-23 15:47:13 2183

原创 iOS 去掉tabBar.item的角标

[self.tabBarController.tabBar.itemsobjectAtIndex:2].badgeValue =nil;

2016-12-23 12:49:45 1885

原创 iOS 页面跳转后去掉返回按钮和返回手势

//去掉返回按钮 self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@""style:(UIBarButtonItemStyleDone)target:selfaction:nil];// 去掉返回手势if ([self.navigationCo

2016-12-21 16:51:19 2407

原创 iOS 键盘遮挡输入框解决方案

- (void)addNotification {[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];[[NSNotificationCenter

2016-12-21 14:30:28 2522

原创 清理Xcode缓存垃圾(编译项目产生的)

~/Library/Developer/Xcode/DerivedData

2016-12-19 18:12:00 4254

原创 select a method for export 各项的意思

1.Save for iOS App Store Deployment //保存到本地 准备上传App Store 或者在越狱的iOS设备上使用2.Save for Ad Hoc Deployment//保存到本地 准备在账号添加的可使用设备上使用(具体为在开发者账户下添加可用设备的udid)//该app包是发布证书编译的3.Save for Enterprise Depl

2016-12-19 15:00:54 1576

原创 iOS NSUserDefaults清空所有内容

// 清空NSUserDefaults所有内容NSUserDefaults *defatluts = [NSUserDefaultsstandardUserDefaults];NSDictionary *dics = [defatlutsdictionaryRepresentation];for(NSString *keyin [dics allKeys])

2016-12-14 13:31:06 1373

原创 完美解决Xcode8.0之后版本NSLog打印输出不全

/** * 完美解决Xcode NSLog打印不全的宏 亲测目前支持到8.2bate版 */#ifdef DEBUG//#define NSLog(format, ...) printf("class: <%p %s:(%d) > method: %s \n%s\n", self, [[[NSString stringWithUTF8String:__FILE_...

2016-12-02 11:16:53 5958

Midnight v2..zip

xcode经典主题

2020-10-29

Transporter

解决Transporte上传App一直验证中,导致没法上传App,可能是网络加载某些配置没下载到的问题。

2020-10-19

iOS 全局事件共享

iOS 全局事件共享

2016-09-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除