ios8.2 以下代碼會崩潰
[self.navigationController popViewControllerAnimated:YES];
[((AppDelegate *)YLBApp).tabbar setSelectedIndex:selectedIndex];
應改爲 [self.navigationController popViewControllerAnimated:NO];
ios8.2 以下代碼會崩潰
[self.navigationController popViewControllerAnimated:YES];
[((AppDelegate *)YLBApp).tabbar setSelectedIndex:selectedIndex];
應改爲 [self.navigationController popViewControllerAnimated:NO];
#include 區分 #include <x.h>與#include "x.h"的作用 #include <x.h>:它用於對系統自帶的頭文件的引用,編譯器會在系統文件目錄下去查找該文件.