 	Creates the SnackBar main view with all properties
 	*/
 	private func createView() {
-		let orientation = UIDevice.currentDevice().orientation
-		
-		if (orientation == UIDeviceOrientation.LandscapeRight || orientation == UIDeviceOrientation.LandscapeLeft) {
-			_snackBarView = UIView(frame: CGRect(x: _spaceOnSide,
-				y: Double(_screenSize.width) + 1,
-				width: Double(_screenSize.height) - (_spaceOnSide * 2),
-				height: _snackViewHeight))
-		} else {
-			_snackBarView = UIView(frame: CGRect(x: _spaceOnSide,
-				y: Double(_screenSize.height) + 1,
-				width: Double(_screenSize.width) - (_spaceOnSide * 2),
-				height: _snackViewHeight))
-		}
+		let orientation = UIApplication.sharedApplication().statusBarOrientation
+		
+		
+		_snackBarView = UIView(frame: CGRect(x: _spaceOnSide,
+			y: Double(_screenSize.height) + 1,
+			width: Double(_screenSize.width) - (_spaceOnSide * 2),
+			height: _snackViewHeight))
+		
 		_snackBarView.backgroundColor = UIColor.init(netHex: _backgroundColor)
 		_snackBarView.backgroundColor = _snackBarView.backgroundColor?.colorWithAlphaComponent(_backgroundAlpha)
 		

		onView.addSubview(_snackBarView)
		
		UIView.animateWithDuration(_animationTime, animations: { _ in
			let orientation = UIApplication.sharedApplication().statusBarOrientation
			
			if orientation.isLandscape {
				self._snackBarView.frame = CGRect(x: self._spaceOnSide,
					y: Double(self._screenSize.width) - (self._spaceOnBottom + self._snackViewHeight),
					width: Double(self._screenSize.height) - (self._spaceOnSide * 2),
					height: self._snackViewHeight)
			} else {
				self._snackBarView.frame = CGRect(x: self._spaceOnSide,
					y: Double(self._screenSize.height) - (self._spaceOnBottom + self._snackViewHeight),
					width: Double(self._screenSize.width) - (self._spaceOnSide * 2),
					height: self._snackViewHeight)
			}
			}, completion: { _ in
				self._animating = false
				self._shown = true

	}
	
	func rotated() {
		let orientation = UIApplication.sharedApplication().statusBarOrientation
		
		print(orientation.isPortrait)
		
		self._screenSize = UIScreen.mainScreen().bounds
		print("Screen height \(_screenSize.height) width : \(_screenSize.width)")
		self.createView()
		if _androidValues {
			officialSnack()
		}
	}
