-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bd50ee
commit b3cc72a
Showing
52 changed files
with
859 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
iOS/Example/App/Assets.xcassets/room_tencent_text.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-5.31 KB
iOS/Example/App/Assets.xcassets/room_tencent_text.imageset/tencentText.png
Binary file not shown.
Binary file removed
BIN
-12.9 KB
iOS/Example/App/Assets.xcassets/room_tencent_text.imageset/[email protected]
Binary file not shown.
Binary file removed
BIN
-24 KB
iOS/Example/App/Assets.xcassets/room_tencent_text.imageset/[email protected]
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
iOS/Example/App/Main/View/Component/RoomNavigationController.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// RoomNavigationController.swift | ||
// DemoApp | ||
// | ||
// Created by 唐佳宁 on 2023/12/11. | ||
// | ||
|
||
import Foundation | ||
import UIKit | ||
|
||
class RoomNavigationController: UINavigationController { | ||
override init(rootViewController: UIViewController) { | ||
super.init(rootViewController: rootViewController) | ||
interactivePopGestureRecognizer?.isEnabled = false | ||
} | ||
|
||
required init?(coder aDecoder: NSCoder) { | ||
fatalError("init(coder:) has not been implemented") | ||
} | ||
|
||
override var supportedInterfaceOrientations: UIInterfaceOrientationMask { | ||
guard let supportedInterfaceOrientations = topViewController?.supportedInterfaceOrientations as? UIInterfaceOrientationMask | ||
else { return .portrait } | ||
return supportedInterfaceOrientations | ||
} | ||
override var shouldAutorotate: Bool { | ||
guard let shouldAutorotate = topViewController?.shouldAutorotate else { return false } | ||
return shouldAutorotate | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.