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
@@ -119,7 +129,7 @@ class InnerViewController: UIViewController {
119
129
Please, find UITabBarController implementation details in [Sample](./Sample).
120
130
121
131
## Animation Customization
122
-
To customize animation for menu opening or closing, update ```transitionOptions``` property that is available in ```MenuContainerViewColtroller``` class. Initial setup could be done, for example, on controller's ```viewDidLoad()```.
132
+
To customize the open and close animations, update the `transitionOptions` property on your `MenuContainerViewColtroller` subclass. The sample project does this in `viewDidLoad()`
123
133
```swift
124
134
overridefuncviewDidLoad() {
125
135
super.viewDidLoad()
@@ -129,7 +139,7 @@ override func viewDidLoad() {
129
139
}
130
140
```
131
141
132
-
Also, you have possibility to update customization settings, e.g. set another options for landscape orientation. To do it, override ```viewWillTransition(to:with:)``` mehod and add desired parameters to ```transitionOptions``` property.
142
+
To customize transition options for different orientations, override `viewWillTransition(to:with:)` and update the `transitionOptions`. This can also be done with trait collections using `traitCollectionDidChange(_:)`
Transition options could be used to set different parameters for Compact and Regular sizes as well. Implement ViewController's ```traitCollectionDidChange(_: )``` method to add these settings.
144
-
145
-
Use [Sample](./Sample) to see implementation details and [CHANGELOG](./CHANGELOG.md) to get more information about updating library from v1.0 to v2.0.
153
+
Check out the [Sample](./Sample) project for more details and usage examples.
146
154
147
155
# Known Issues
148
-
There is [an issue](https://github.com/handsomecode/InteractiveSideMenu/issues/53) associated with scaling of NavigationBar in iOS 11. Status bar background is hidden during side menu closing if `contentScale < 1`. It’s supposed to be*iOS 11*Navigation Bar issue that's been reported to Apple.
156
+
There is [an issue](https://github.com/handsomecode/InteractiveSideMenu/issues/53) associated with the scaling of a UINavigationBar in iOS 11. Status bar background is hidden during side menu closing if `contentScale < 1`. This is an*iOS 11* issue and has been reported to Apple.
0 commit comments