loganwright / SimpleChat

An Easy To Use Bubble Chat Interface
Mozilla Public License 2.0
262 stars 53 forks source link

'didRotateFromInterfaceOrientation' was deprecated in iOS 8.0 #36

Closed jessjpj closed 8 years ago

jessjpj commented 8 years ago

I got this warning. I am using swift2 and xcode7.2. This is the respective code

override func didRotateFromInterfaceOrientation(fromInterfaceOrientation: UIInterfaceOrientation) {
        super.didRotateFromInterfaceOrientation(fromInterfaceOrientation)
UIView.animateWithDuration(0.25, delay: 0.0, options: UIViewAnimationOptions.CurveEaseOut, animations: { () -> Void in
            self.scrollToBottom()
            }, completion: nil)
    }
loganwright commented 8 years ago

@jessjpj This may be legacy issue from the original iOS 7 implementation, would you be willing to submit a pull request against the library?

BadPirate commented 8 years ago

Logan, my fork has a fix for this.