关闭

[转]VS2008 在h与cpp文件间切换快捷键

http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/ I’ve been doing a lot of managed C++ programming lately and I had forgotten what a pain it is switching back and forth between the header file and source file.  Bac...
阅读(6107) 评论(0)

隐藏tabbar

隐藏tabbar有两种方式: 1:在pushViewController之前调用 [self setHidesBottomBarWhenPushed:YES]; 同时在viewWillDisappear调用: - (void)viewWillDisappear:(BOOL)animated {     [self setHidesBottomBarWhenPushed:NO];     [super viewDidDisappear:animated]; ...
阅读(7701) 评论(0)

如何使用tabbar和navigationController时调用viewWillAppear

采用如下方式: App—>RootViewController—>UINavigationController—>UIViewController 发现UIViewController接收不到viewWillAppear相关的四个函数。 经过多次试验,发现如下方法,可以解决: 在RootViewController的Init中加入如下代码(红色字体) tabBarController.viewControllers = [NSArray arrayWithObjects:tabNav1,ta...
阅读(5182) 评论(1)
    个人资料
    • 访问:445148次
    • 积分:5629
    • 等级:
    • 排名:第5645名
    • 原创:98篇
    • 转载:18篇
    • 译文:0篇
    • 评论:118条
    文章分类
    最新评论