UIAlertController tint color defaults to blue on highlight

This is a known Bug, see https://openradar.appspot.com/22209332 To fix it, reapply the tint color in the Completion handler. Here’s my Swift Solution, you will be able to adapt it easily for ObjC: alertController.view.tintColor = UIColor.redColor() // apply 1st time to prevent flicker from Blue to Red when displaying navigationController?.presentViewController(alertController, animated: true, completion: { // Bugfix: … Read more

UICollectionView iOS 9 issue on project with RTL languages support

I was in a similar situation and found a solution for this. If you are using swift, add the following snippet to your project, and it will make sure that the bounds.origin always follows leading edge of the collection view. extension UICollectionViewFlowLayout { open override var flipsHorizontallyInOppositeLayoutDirection: Bool { return true } } If you … Read more

tech