forked from liuzhe1117/iOS26LegacyUIPatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiOS26LegacyUIPatcher.podspec
More file actions
58 lines (47 loc) · 2.13 KB
/
Copy pathiOS26LegacyUIPatcher.podspec
File metadata and controls
58 lines (47 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Pod::Spec.new do |s|
s.name = 'iOS26LegacyUIPatcher'
s.version = '0.1.1'
s.summary = 'UIKit compatibility pod for iOS 26 behavior changes in UIScrollView, UINavigationBar, and UITabBar.'
s.description = <<-DESC
iOS26LegacyUIPatcher adapts UIKit behavior changes introduced in iOS 26 via Objective-C method swizzling.
It includes:
- UIScrollView compatibility (disables scroll-edge visual effect).
- UINavigationBar compatibility (disables new bar button background-sharing behavior).
- UITabBar compatibility (disables liquid-glass related view/gesture and restores hidesBottomBarWhenPushed transition behavior with a delegate proxy).
Subspecs:
- base (main switch, `+[iOS26LegacyUIPatcher enable]`)
- UIScrollView
- UINavigationBar
- UITabBar
By default, all subspecs are installed. Non-base subspecs depend on RSSwizzle.
DESC
s.homepage = 'https://github.com/liuzhe1117/iOS26LegacyUIPatcher'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'liuzhe1117' => 'liuzhe1117@gmail.com' }
s.source = { :git => 'https://github.com/liuzhe1117/iOS26LegacyUIPatcher.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
}
s.default_subspecs = 'base', 'UIScrollView', 'UINavigationBar', 'UITabBar'
s.dependency 'RSSwizzle', '~> 0.1.0'
s.subspec 'base' do |ss|
ss.source_files = 'sources/base/**/*.{h,m}'
ss.public_header_files = 'sources/base/**/*.h'
end
s.subspec 'UIScrollView' do |ss|
ss.source_files = 'sources/UIScrollView/**/*.{h,m}'
ss.public_header_files = 'sources/UIScrollView/**/*.h'
ss.dependency 'iOS26LegacyUIPatcher/base'
end
s.subspec 'UINavigationBar' do |ss|
ss.source_files = 'sources/UINavigationBar/**/*.{h,m}'
ss.public_header_files = 'sources/UINavigationBar/**/*.h'
ss.dependency 'iOS26LegacyUIPatcher/base'
end
s.subspec 'UITabBar' do |ss|
ss.source_files = 'sources/UITabBar/**/*.{h,m}'
ss.public_header_files = 'sources/UITabBar/**/*.h'
ss.dependency 'iOS26LegacyUIPatcher/base'
end
end