[FIX]: support translucent and opaque bars, and fix issue on iOS 7