自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 问答 (1)
  • 收藏
  • 关注

原创 iOS 查找sdk所在路径的方法

1.找到Xcode.app –> 单击右键 –> 显示包内容 –> 路径:/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs2.完整路径:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

2017-01-04 11:04:42 2210

原创 xamarin.iOS 设置Label指定文字的颜色

设置Label指定文字的颜色

2016-12-05 14:38:38 1367

原创 xamarin.iOS 动态计算表中单元格cell的高度

动态计算表中单元格cell的高度:

2016-12-05 14:13:44 399

原创 xamarin.iOS 导航栏添加按钮

导航栏添加按钮,打开侧边栏

2016-12-05 14:00:25 926

原创 xamarin.iOS 滑动视图上添加边缘滑动手势

解决滑动视图上屏幕边缘滑动手势无法触发的问题;屏幕边缘滑动手势打开侧边栏;

2016-12-05 13:55:32 1262

原创 Xamarin.iOS滑动视图上图片(视图)的缩放(双击手势实现缩放)

滑动视图上实现图片(视图)的缩放功能:用到两个滑动视图

2016-12-05 13:46:01 1403

原创 xamarin.ios中显示html标记

public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath){            var htmlText = SearchResult.Items[indexPath.Row].Catalog + "\n" + SearchResult.Items[indexPath.Row

2016-10-20 10:17:51 536

原创 xamarin.ios中下拉加载更多内容

public override void Scrolled(UIScrollView scrollView){            nfloat height = scrollView.Frame.Size.Height - 80;            nfloat distanceFromBottom = scrollView.ContentSize.Height - scrol

2016-10-20 10:06:26 845

原创 xamarin.ios中设置button的边框及样式

public void SetButtonBorderStyle(UIButton button){            button.Layer.BorderColor = new CGColor((nfloat)(116 / 255.0), (nfloat)(209 / 255.0), (nfloat)(248 / 255.0));            button.Layer

2016-10-20 09:53:53 1309

原创 Xamarin.Forms中的Animation动画

var animation = new Animation(v => messageLabel.Text = “图片已成功保存至:” + “图片位置”, 0, 10, Easing.CubicInOut);animation.Commit(messageLabel, “animation”, rate: Convert.ToUInt32(200), length: 500, finished: (l

2016-08-22 16:33:21 889 1

原创 Xamarin.Forms中获取屏幕宽度

App.cs中: public partial class App : Application { static public int ScreenWidth; }AppDelegate.cs中: public override bool FinishedLaunching(UIApplication app, NSDictionary options) {

2016-08-22 13:58:37 1779

原创 Xamarin.Forms中隐藏导航条

在Page页中: protected override void OnAppearing() { base.OnAppearing(); NavigationPage.SetHasNavigationBar(this, false); }

2016-08-22 13:27:22 2259 1

空空如也

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

TA关注的人

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