摘要: 今天下午17点左右,博客园博客站点出现这样的错误信息: Error Summary: HTTP Error 503.2 - Service Unavailable The serverRuntime@appConcurrentRequestLimit setting is being exceeded. Detailed Error Information: Module IIS Web Core Notification BeginRequest Handler StaticFile Error Code 0x00000000 由于之前使用的是默认配置,服务器最多只能处理5000个同... 阅读全文
posted @ 2012-07-06 12:44 冰岛 阅读(173) 评论(0) 推荐(0)
摘要: UIAlertTableView.h #import<UIKit/UIKit.h>@classUIAlertView;@interfaceUIAlertTableView:UIAlertView{UIAlertView*alertView;UITableView*tableView;inttableHeight;inttableExtHeight;id<UITableViewDataSource>dataSource;id<UITableViewDelegate>tableDelegate;}@property(nonatomic,assign)iddata 阅读全文
posted @ 2012-07-06 10:33 冰岛 阅读(907) 评论(0) 推荐(0)
摘要: http://stackoverflow.com/questions/3028845/uiviewcontroller-remove-subview找来的删除子视图的代码 I add a view as subview of my uiviewcontroller like this:// into my ViewController:UIImageView *imView =[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"img.jpg"]];imView.frame = CGRectMake(2, 46, 阅读全文
posted @ 2012-07-06 09:45 冰岛 阅读(369) 评论(0) 推荐(0)
摘要: openURL的使用方法:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:appString]];其中系统的appString有:1.Map http://maps.google.com/maps?q=Shanghai2.Email mailto://myname@google.com3.Tel tel://100864.Msg sms://10086openURL能帮助你运行Maps,SMS,Browser,Phone甚至其他的应用程序。这是iPho... 阅读全文
posted @ 2012-07-06 09:15 冰岛 阅读(399) 评论(1) 推荐(0)