- 博客(6)
- 资源 (13)
- 收藏
- 关注
原创 UINavigationBar字体颜色
[self.navigationController.navigationBarsetTitleTextAttributes:[NSDictionarydictionaryWithObjectsAndKeys:[UIColorcolorWithRed:0green:171.0/255blue:236.0/255alpha:1.0],UITextAttributeTextCo
2015-11-25 19:38:48 388
转载 获取listview滚动的距离
public int getScrollY(AbsListView mListView) { View c = mListView.getChildAt(0); if (c == null ) { return 0; } int firstVisiblePosition = mListView.get
2015-11-16 18:52:30 1237
原创 ios 原生二维码扫描以及需要注意事项
最近在研究ios的二维码扫描功能,网上有好多诸如ZXing,ZBar第三方类库的介绍,如果仅仅是为了扫码,我觉得使用第三方类库有些麻烦,其实ios提供了二维码扫描的api,不多说了,直接上代码//// ViewController.m// Quickmark//// Created by chengpengfei on 15/10/22.//
2015-11-06 20:35:00 1663
转载 保存图片到相册
UIImageWriteToSavedPhotosAlbumAdds the specified image to the user’s Camera Roll album.DeclarationSWIFTfunc UIImageWriteToSavedPhotosAlbum(_ image: UIImage, _ completionTarget:
2015-11-06 16:31:19 575
转载 Xcode带颜色Log
是不是看厌了Xcode单调的Log,在此,我教大家实现带颜色的Log一 首先你需要安装一个Xcode插件---XCode Colors插件Github地址 https://github.com/robbiehanson/XcodeColors插件安装好后,退出Xcode,重新打开,会弹出两个选项,选择Load Bundle...现在在你的代码加上以下代码,运行,你会发现你的Lo
2015-11-05 20:13:47 790
原创 调用系统相册不显示中文
调用系统相册不显示手机所选语言,只需在info.plist中设置一下即可Localized resources can be mixed设为YES
2015-11-02 16:19:01 311
The Magic of Flutter.pdf
2019-12-24
nrftool connect
2017-04-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人