随笔分类 -  Xamarin IOS

摘要:新建一个Single View Application添加一个空类如下:using System;using UIKit;using Foundation;namespace BasicTable{ public class TableSource : UITableViewSource { st... 阅读全文
posted @ 2015-05-11 20:06 成败在我手 阅读(307) 评论(0) 推荐(0)
摘要:新建空工程如图添加一个MainStoryboard如图设置启动项为MainStoryboard重写AppDelegate的Window方法public override UIWindow Window { get; set; } 从工具箱拖3个View Controlle... 阅读全文
posted @ 2015-05-08 20:24 成败在我手 阅读(132) 评论(0) 推荐(0)
摘要:新建一个空工程,如图新建类using System;using UIKit;namespace TabbedApplication{ public class TabController : UITabBarController { UIViewController tab1,tab2,tab3;... 阅读全文
posted @ 2015-05-08 19:37 成败在我手 阅读(189) 评论(0) 推荐(0)
摘要:新建一个Single View Application项目添加程序集MonoTouch.Dialog.dll引用删除MainStoryboard.storyboard添加空类Task.csusing System;namespace APITest{ public class Task { pub... 阅读全文
posted @ 2015-05-07 20:53 成败在我手 阅读(212) 评论(0) 推荐(0)
摘要:usingSystem;usingUIKit;usingCoreGraphics;usingFoundation;namespaceGraphicsAnimation{ publicclassTriangleView:UIView { CGPathpath; publicTriangleView... 阅读全文
posted @ 2015-05-06 20:45 成败在我手 阅读(228) 评论(0) 推荐(0)
摘要:导航栏的设置标题publicHelloWorldScreen () : base ("HelloWorldScreen", null){ this.Title="World!"; }隐藏导航栏public override void ViewWillAppear (bool animated) { ... 阅读全文
posted @ 2015-04-24 12:10 成败在我手 阅读(259) 评论(0) 推荐(0)