上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页
摘要: IOS SDK6/Xcode4.5开始在Storyboad中新增很多功能对可视化的开发页面布局,导航更加方便,下面就写一下各种导航的实现。1、不用像Xcode4之前必须删除默认的viewcontroller,然后拖一个navigation controller,然后才能实现导航。只需要选择默认的viewcontroller ,在菜单上选择editor-embed in- 2、下面实现导航最简单的就是next,back,只需要按住ctr直接拖线就好了,这里有一个Storyboard Segue-Identifier这个值最好填上,可以在代码里面用到这个Identifier的值可以一般在两个地方会 阅读全文
posted @ 2012-12-21 09:41 阿新 阅读(5597) 评论(0) 推荐(1)
摘要: 在scanview中添加扫描区域ZBarReaderViewController *reader = [ZBarReaderViewController new]; reader.readerDelegate = self; //CGRect frame= CGRectMake(20, 30, 320, 260); reader.scanCrop= CGRectMake(0.2, .1, .47, .8); 自定义scanview添加一个自定义的扫描框- (UIView *)setOverlayPickerView{ UIView *v=[[UIView alloc]... 阅读全文
posted @ 2012-12-07 12:20 阿新 阅读(3931) 评论(2) 推荐(0)
摘要: http://pastebin.com/wSVW1tRcCGRect scanCropThe region of the video image that will be scanned, innormalized image coordinates. Note that the video image is in landscape mode (default {{0, 0}, {1, 1}})The coordinates for all of the arguments is in a normalized float, which is from 0 - 1. So, in norma 阅读全文
posted @ 2012-12-07 07:27 阿新 阅读(965) 评论(0) 推荐(0)
摘要: Assuming you have storyboard, go to storyboard and give your VC an identifier (inspector), then do: UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];UIViewCon... 阅读全文
posted @ 2012-12-04 09:13 阿新 阅读(3532) 评论(0) 推荐(0)
摘要: Why All The Lambdas?Tuesday, November 27, 2012"Why All The Lambdas?" is a question that comes up with ASP.NET MVC.@Html.TextBoxFor(model => model.Rating)Instead of lambdas, why don't we just pass a property value directly?@Html.TextBoxFor(Model.Rating)Aren't we simply trying to 阅读全文
posted @ 2012-12-03 18:55 阿新 阅读(217) 评论(0) 推荐(0)
摘要: 代码--(IBAction)uploadAction:(id)sender{NSString*urlstring=self.urlTextField.text;//NSString*poststr=@"";NSData*imgData=UIImageJPEGRepresentation(self.previewImageView.image,0.9f);NSString*boundary=@"0xKhTmLbOuNdArY";NSString*contentType=[NSStringstringWithFormat:@"multipart/f 阅读全文
posted @ 2012-11-27 11:37 阿新 阅读(807) 评论(0) 推荐(0)
摘要: BizTalk for AS2 加密/加签传输练习AS2是互联网上安全,可靠地传输数据的最常用的方式。AS2为信息建立信封并通过电子证书和加密在互联网上安全地发送出去。因此被很多大公司特别是国外的公司在B2B领域广泛使用。BizTalk从2006开始内建支持AS2;而且配置很简单(如果你知道了AS2基本原理和BizTalk的基本配置)AS2传输方式AS2简单的说类似SSL,通过HTTP/HTTPS协议传输;利用证书实现加签和加密,因此必须要可用于交换和加签的证书(说白了就是需要带私钥的证书,下面会提到怎么申请证书)。练习的环境一台BizTalk(Fabrikam),从文件目录下把XML文件通过 阅读全文
posted @ 2012-10-11 10:14 阿新 阅读(2248) 评论(2) 推荐(1)
摘要: ErrorTF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking.ExplanationPlugin error text: “Value cannot be null. Parameter name: TF223000: The identity object returned by ReadIdentities contains a null value for the following register 阅读全文
posted @ 2012-09-13 08:40 阿新 阅读(3064) 评论(0) 推荐(0)
摘要: Here is a simple and sample code that demonstrate the photo slide function with zoom using uiscrollview.this is the first photoslidingzooming in particular photo1. first drag three photos to your project , size not important .2 viewcontroller.h 's code#import <UIKit/UIKit.h>@interface View 阅读全文
posted @ 2012-06-28 14:04 阿新 阅读(1180) 评论(0) 推荐(0)
摘要: -(void)viewDidLoad{[superviewDidLoad];[theScrollViewsetContentSize:CGSizeMake(3*theScrollView.bounds.size.width,theScrollView.bounds.size.height)];[theScrollViewsetPagingEnabled:YES];CGRectaFrame=theScrollView.bounds;UIView*view;NSLog(@"Frame:%@",NSStringFromCGRect(aFrame));view=[[UIViewal 阅读全文
posted @ 2012-06-16 19:15 阿新 阅读(475) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页