You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your controller (BTW: great, thank you) in iOS 8.1, in Swift: in portrait - no problem. In landscape I see a weird bump, similar to a collision, while dragging the view. I've made a short movie you may find here: https://www.dropbox.com/s/p55s88a1js9chxl/iOS%20SimulatorScreenSnapz001.mov?dl=0
You may find below my few lines of codes for this issue.
Any hint to fix ? It is really annoying for the user.
Thank you for any help on this
stefat
// MARK: ########## Installazione del SideController come rootView del keyWindow ################
let story = UIStoryboard(name: "Main", bundle: nil)
self.leftTabelController = story.instantiateViewControllerWithIdentifier("mySideTableController") as SideTableViewController!
self.mySideController = PPRevealSideViewController(rootViewController: self.navigationController)
UIApplication.sharedApplication().keyWindow?.rootViewController = mySideController
self.mySideController!.panInteractionsWhenClosed = UInt(PPRevealSideInteractionContentView + PPRevealSideInteractionNavigationBar)
self.mySideController!.directionsToShowBounce = UInt(PPRevealSideDirectionNone)
self.mySideController!.options = UInt(PPRevealSideOptionsKeepOffsetOnRotation)
self.mySideController!.delegate = self
... and at click on button to open the side view
// MARK: ########## Lancio del SideController ################
var offset:CGFloat = 80.0
self.mySideController!.pushViewController(leftTabelController, onDirection: UInt(PPRevealSideDirectionLeft), withOffset: offset, animated: true )
// d'ora in poi attiva il bounce ...
self.mySideController!.directionsToShowBounce = UInt(PPRevealSideDirectionLeft)
The text was updated successfully, but these errors were encountered:
I'm using your controller (BTW: great, thank you) in iOS 8.1, in Swift: in portrait - no problem. In landscape I see a weird bump, similar to a collision, while dragging the view. I've made a short movie you may find here:
https://www.dropbox.com/s/p55s88a1js9chxl/iOS%20SimulatorScreenSnapz001.mov?dl=0
You may find below my few lines of codes for this issue.
Any hint to fix ? It is really annoying for the user.
Thank you for any help on this
stefat
// MARK: ########## Installazione del SideController come rootView del keyWindow ################
let story = UIStoryboard(name: "Main", bundle: nil)
self.leftTabelController = story.instantiateViewControllerWithIdentifier("mySideTableController") as SideTableViewController!
self.mySideController = PPRevealSideViewController(rootViewController: self.navigationController)
UIApplication.sharedApplication().keyWindow?.rootViewController = mySideController
self.mySideController!.panInteractionsWhenClosed = UInt(PPRevealSideInteractionContentView + PPRevealSideInteractionNavigationBar)
self.mySideController!.directionsToShowBounce = UInt(PPRevealSideDirectionNone)
self.mySideController!.options = UInt(PPRevealSideOptionsKeepOffsetOnRotation)
self.mySideController!.delegate = self
... and at click on button to open the side view
// MARK: ########## Lancio del SideController ################
var offset:CGFloat = 80.0
self.mySideController!.pushViewController(leftTabelController, onDirection: UInt(PPRevealSideDirectionLeft), withOffset: offset, animated: true )
// d'ora in poi attiva il bounce ...
self.mySideController!.directionsToShowBounce = UInt(PPRevealSideDirectionLeft)
The text was updated successfully, but these errors were encountered: