2012年3月25日

UITabBarController的用法

摘要: - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions{self.window= [[[UIWindowalloc]initWithFrame:[[UIScreenmainScreen]bounds]]autorelease];FirstViewController*firstController=[[FirstViewControlleralloc]init];//设置标题 firstController.title=@"Fi 阅读全文

posted @ 2012-03-25 17:16 iYiming 阅读(3999) 评论(0) 推荐(0) 编辑

UIActivityIndicator的用法

摘要: (1)创建 UIActivityIndicatorView*activityView=[[UIActivityIndicatorViewalloc]initWithFrame:CGRectMake(150,30,100,100)];(2)设置类型(activityIndicatorViewStyle) 三种类型: UIActivityIndicatorViewStyleWhiteLarge:大的白色的指示器 UIActivityIndicatorViewStyleWhite: 标准白色的指示器 UIActivityIndicatorViewStyleGray:为白色背景... 阅读全文

posted @ 2012-03-25 17:00 iYiming 阅读(1097) 评论(0) 推荐(0) 编辑

iPhone中WebService的使用

摘要: 使用的WebService是:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx其中的getWeatherByCityName函数常使用的技术有:SOAP,HTTP GET,HTTP POST三种方式(一)SOAP(简单对象访问协议)方式当你使用SOAP时,必须用到POST方式(1)SOAP 1.1以下是请求实例:POST /WebServices/WeatherWebService.asmx HTTP/1.1Host: www.webxml.com.cnContent-Type: text/xml; charset=utf- 阅读全文

posted @ 2012-03-25 16:58 iYiming 阅读(1321) 评论(1) 推荐(0) 编辑

导航