//
//  UIViewController+Extension.h
//  keyBoard
//
//  Created by Mac on 2025/11/3.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (Extension)
/// Returns the top-most presented view controller from the app's active window.
/// This mirrors the prior logic in AppDelegate (walks presentedViewController chain).
+ (nullable UIViewController *)kb_topMostViewController;
@end

NS_ASSUME_NONNULL_END
