iOS buttonWithType:101 苹果私有api
2013-10-23 14:36
441 查看
无意中发现,有人创建UIButton这样写
UIButton *previousButton = [UIButtonbuttonWithType:101];
一看原来是私有api
更多UIButton 私有api
http://www.yifeiyang.net/iphone-development-skills-of-the-private-api-3-uibutton/
UIButton *previousButton = [UIButtonbuttonWithType:101];
一看原来是私有api
UIButton *previousButton = [UIButton buttonWithType:101]; [previousButton setTitle:@"<" forState:UIControlStateNormal]; previousButton.frame = CGRectMake(0.f, 0.f, 30.f, 80.f); previousButton.center = CGPointMake(previousButton.frame.size.width / 2.f, pagingView.center.y); [previousButton addTarget:pagingView action:@selector(scrollToPreviousPage) forControlEvents:UIControlEventTouchUpInside]; [self.view addSubview:previousButton];
更多UIButton 私有api
http://www.yifeiyang.net/iphone-development-skills-of-the-private-api-3-uibutton/
相关文章推荐
- iOS逆向工程三:苹果私有API的获取
- IOS开发之苹果私有API的使用
- iOS initWithFrame:frame] 与 [UIButton buttonWithType] 对比
- 苹果API常用英语名词---iOS-Apple苹果官方文档翻译
- iOS设备中WiFi、蓝牙和飞行模式的开启与关闭(私有API)
- iOS私有API的了解
- iOS-Best Practices for Interacting with a Remote Peripheral Device(API Reference) the sixth part
- ios私有api查询
- IOS应用加载本地WebView禁止进行缓存(使用私有api)
- iOS开发之Xcode8打印台[NWConcrete_nw_endpoint_proxy cancelWithHandler:forced:] [7 api.weibo.com:443 cancell
- IOS引用私有private framework API 图解
- iOS私有API获取电话号码
- iOS私有API之wifi扫描和wifi连接
- iPhone开发技巧之私有API--- UIBarButtonItem
- IOS应用加载本地WebView禁止进行缓存(使用私有api)
- 使用私有api统计ios app运行时间及次数
- IOS-升级101 非RectButton(透明区域不可点击View)
- class-dump获取iOS私有api
- iOS开发之画面切换的各种动画效果附私有API