2017-07-25 19:23:23 +02:00
|
|
|
//
|
2018-04-02 23:00:55 +02:00
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
2017-07-25 19:23:23 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface OWSViewController : UIViewController
|
|
|
|
|
2017-10-20 04:37:17 +02:00
|
|
|
@property (nonatomic) BOOL shouldIgnoreKeyboardChanges;
|
|
|
|
|
2018-07-23 21:03:07 +02:00
|
|
|
@property (nonatomic) BOOL shouldUseTheme;
|
|
|
|
|
2018-04-02 23:00:55 +02:00
|
|
|
// We often want to pin one view to the bottom of a view controller
|
|
|
|
// BUT adjust its location upward if the keyboard appears.
|
2018-08-08 21:49:22 +02:00
|
|
|
- (void)autoPinViewToBottomOfViewControllerOrKeyboard:(UIView *)view avoidNotch:(BOOL)avoidNotch;
|
2017-10-10 22:13:54 +02:00
|
|
|
|
2017-07-25 19:23:23 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|