摘要: #import<UIKit/UIKit.h>#import<MapKit/MapKit.h>@interfaceUserLocationViewController:UIViewController<MKMapViewDelegate>{MKMapView*mapView;UIButton*btn;}@property(nonatomic,retain)MKMapView*mapView;@property(nonatomic,retain)UIButton*btn;-(void)btnPressed:(id)sender;@end -(void)viewD 阅读全文
posted @ 2012-03-14 09:48 Ethan_村长 阅读(8236) 评论(1) 推荐(0) 编辑
摘要: 方法一:将设置显示试图的高度-(void)makeTabBarHidden:(BOOL)hide{if([self.tabBarController.view.subviewscount]<2){return;}UIView*contentView;if([[self.tabBarController.view.subviewsobjectAtIndex:0]isKindOfClass:[UITabBarclass]]){contentView=[self.tabBarController.view.subviewsobjectAtIndex:1];}else{contentView=[ 阅读全文
posted @ 2012-03-14 09:42 Ethan_村长 阅读(3039) 评论(0) 推荐(0) 编辑