Last active
March 31, 2025 18:38
-
-
Save Chronos2500/e523116be841987543580930ba288d75 to your computer and use it in GitHub Desktop.
UIBlurEffectStyle一覧
This file contains hidden or 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
# 実行方法 (lldb) command script import /path/to/blur_effects.py | |
# 個別確認はUIBlurEffect インスタンスを作成して調べる | |
# (lldb) po [UIBlurEffect effectWithStyle:503] | |
import lldb | |
# 現在のターゲットとプロセスを取得 | |
target = lldb.debugger.GetSelectedTarget() | |
process = target.GetProcess() | |
# 検証する範囲を設定 | |
start_value = 0 | |
end_value = 10000 | |
step = 1 | |
# 結果を一時保存するファイル | |
output_path = '/tmp/blur_effects.txt' | |
with open(output_path, 'w') as result_file: | |
for i in range(start_value, end_value + 1, step): | |
# コマンドを実行 | |
expr_cmd = f'(id)[UIBlurEffect effectWithStyle:{i}]' | |
result = lldb.SBCommandReturnObject() | |
lldb.debugger.GetCommandInterpreter().HandleCommand(f'po {expr_cmd}', result) | |
# 結果のチェック | |
if result.Succeeded(): | |
output_text = result.GetOutput().strip() | |
if output_text and 'nil' not in output_text.lower(): | |
output = f"Style {i}: {output_text}" | |
print(output) | |
result_file.write(output + '\n') | |
print(f"Results saved to {output_path}") |
This file contains hidden or 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
Style 0: <UIBlurEffect: 0x60000004c860> style=UIBlurEffectStyleExtraLight | |
Style 1: <UIBlurEffect: 0x60000004c870> style=UIBlurEffectStyleLight | |
Style 2: <UIBlurEffect: 0x60000004c880> style=UIBlurEffectStyleDark | |
Style 3: <UIBlurEffect: 0x60000000ed40> style=UIBlurEffectStyleExtraDark | |
Style 4: <UIBlurEffect: 0x60000000ed50> style=UIBlurEffectStyleRegular | |
Style 5: <UIBlurEffect: 0x60000000ed60> style=UIBlurEffectStyleProminent | |
Style 6: <UIBlurEffect: 0x60000004c890> style=UIBlurEffectStyleSystemUltraThinMaterial | |
Style 7: <UIBlurEffect: 0x60000004c8a0> style=UIBlurEffectStyleSystemThinMaterial | |
Style 8: <UIBlurEffect: 0x60000004c8b0> style=UIBlurEffectStyleSystemMaterial | |
Style 9: <UIBlurEffect: 0x60000004c8c0> style=UIBlurEffectStyleSystemThickMaterial | |
Style 10: <UIBlurEffect: 0x60000004c8d0> style=UIBlurEffectStyleSystemChromeMaterial | |
Style 11: <UIBlurEffect: 0x60000004c8e0> style=UIBlurEffectStyleSystemUltraThinMaterialLight | |
Style 12: <UIBlurEffect: 0x60000004c8f0> style=UIBlurEffectStyleSystemThinMaterialLight | |
Style 13: <UIBlurEffect: 0x60000004c900> style=UIBlurEffectStyleSystemMaterialLight | |
Style 14: <UIBlurEffect: 0x60000004c910> style=UIBlurEffectStyleSystemThickMaterialLight | |
Style 15: <UIBlurEffect: 0x60000004c920> style=UIBlurEffectStyleSystemChromeMaterialLight | |
Style 16: <UIBlurEffect: 0x60000004c930> style=UIBlurEffectStyleSystemUltraThinMaterialDark | |
Style 17: <UIBlurEffect: 0x60000004c940> style=UIBlurEffectStyleSystemThinMaterialDark | |
Style 18: <UIBlurEffect: 0x60000004c950> style=UIBlurEffectStyleSystemMaterialDark | |
Style 19: <UIBlurEffect: 0x60000004c960> style=UIBlurEffectStyleSystemThickMaterialDark | |
Style 20: <UIBlurEffect: 0x60000004c970> style=UIBlurEffectStyleSystemChromeMaterialDark | |
Style 99: <UIBlurEffect: 0x600000039470> style=UIBlurEffectStyleUltraDark | |
Style 100: <UIBlurEffect: 0x600000013c50> style=UIBlurEffectStyleUltraColored | |
Style 501: <UIBlurEffect: 0x600000036180> style=UIBlurEffectStyleLightKeyboard | |
Style 502: <UIBlurEffect: 0x600000036190> style=UIBlurEffectStyleLightEmojiKeyboard | |
Style 1000: <UIBlurEffect: 0x60000004ed70> style=UIBlurEffectStyleAutomatic | |
Style 1100: <UIBlurEffect: 0x60000004f0f0> style=UIBlurEffectStyleSystemChromeBackground | |
Style 1101: <UIBlurEffect: 0x60000004f100> style=UIBlurEffectStyleSystemChromeBackgroundLight | |
Style 1102: <UIBlurEffect: 0x60000004f110> style=UIBlurEffectStyleSystemChromeBackgroundDark | |
Style 1200: <UIBlurEffect: 0x600000045510> style=UIBlurEffectStyleSystemVibrantBackgroundRegular | |
Style 1201: <UIBlurEffect: 0x600000039940> style=UIBlurEffectStyleSystemVibrantBackgroundUltraThin | |
Style 1202: <UIBlurEffect: 0x600000045520> style=UIBlurEffectStyleSystemVibrantBackgroundThin | |
Style 1203: <UIBlurEffect: 0x600000036640> style=UIBlurEffectStyleSystemVibrantBackgroundThick | |
Style 1204: <UIBlurEffect: 0x600000036650> style=UIBlurEffectStyleSystemVibrantBackgroundRegularLight | |
Style 1205: <UIBlurEffect: 0x600000039950> style=UIBlurEffectStyleSystemVibrantBackgroundUltraThinLight | |
Style 1206: <UIBlurEffect: 0x600000036660> style=UIBlurEffectStyleSystemVibrantBackgroundThinLight | |
Style 1207: <UIBlurEffect: 0x600000045530> style=UIBlurEffectStyleSystemVibrantBackgroundThickLight | |
Style 1208: <UIBlurEffect: 0x6000000500d0> style=UIBlurEffectStyleSystemVibrantBackgroundRegularDark | |
Style 1209: <UIBlurEffect: 0x600000036670> style=UIBlurEffectStyleSystemVibrantBackgroundUltraThinDark | |
Style 1210: <UIBlurEffect: 0x600000045540> style=UIBlurEffectStyleSystemVibrantBackgroundThinDark | |
Style 1211: <UIBlurEffect: 0x600000045550> style=UIBlurEffectStyleSystemVibrantBackgroundThickDark | |
Style 4000: <UIBlurEffect: 0x600000059a60> style=UIBlurEffectStyleATVSemiLight | |
Style 4001: <UIBlurEffect: 0x600000059a70> style=UIBlurEffectStyleATVMediumLight | |
Style 4002: <UIBlurEffect: 0x600000059a80> style=UIBlurEffectStyleATVLight | |
Style 4003: <UIBlurEffect: 0x60000005c140> style=UIBlurEffectStyleATVUltraLight | |
Style 4004: <UIBlurEffect: 0x600000059a90> style=UIBlurEffectStyleATVMenuLight | |
Style 4005: <UIBlurEffect: 0x600000059aa0> style=UIBlurEffectStyleATVSemiDark | |
Style 4006: <UIBlurEffect: 0x600000059ab0> style=UIBlurEffectStyleATVMediumDark | |
Style 4007: <UIBlurEffect: 0x600000059ac0> style=UIBlurEffectStyleATVDark | |
Style 4008: <UIBlurEffect: 0x600000059ad0> style=UIBlurEffectStyleATVUltraDark | |
Style 4009: <UIBlurEffect: 0x600000059ae0> style=UIBlurEffectStyleATVMenuDark | |
Style 4010: <UIBlurEffect: 0x600000059af0> style=UIBlurEffectStyleATVAdaptive | |
Style 4011: <UIBlurEffect: 0x600000059b00> style=UIBlurEffectStyleATVAdaptiveLighten | |
Style 4012: <UIBlurEffect: 0x600000059b10> style=UIBlurEffectStyleATVLightTextField | |
Style 4013: <UIBlurEffect: 0x600000059b20> style=UIBlurEffectStyleATVDarkTextField | |
Style 4014: <UIBlurEffect: 0x600000059b30> style=UIBlurEffectStyleATVAccessoryLight | |
Style 4015: <UIBlurEffect: 0x600000059b40> style=UIBlurEffectStyleATVAccessoryDark | |
Style 4016: <UIBlurEffect: 0x600000059b50> style=UIBlurEffectStyleATVBlackTextField | |
Style 5000: <UIBlurEffect: 0x600000060190> style=UIBlurEffectStyleATVAutomatic | |
Style 5001: <UIBlurEffect: 0x6000000601a0> style=UIBlurEffectStyleATVSemiAutomatic | |
Style 5002: <UIBlurEffect: 0x6000000601b0> style=UIBlurEffectStyleATVMediumAutomatic | |
Style 5003: <UIBlurEffect: 0x6000000601c0> style=UIBlurEffectStyleATVUltraAutomatic | |
Style 5004: <UIBlurEffect: 0x6000000601d0> style=UIBlurEffectStyleATVMenuAutomatic | |
Style 5005: <UIBlurEffect: 0x6000000601e0> style=UIBlurEffectStyleATVAccessoryAutomatic | |
Style 5006: <UIBlurEffect: 0x6000000601f0> style=UIBlurEffectStyleATVTextFieldAutomatic |
This file contains hidden or 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
// Example | |
// Custom extension to add a blur effect style with raw value 1100 | |
extension UIBlurEffect.Style { | |
static var systemChromeBackground: UIBlurEffect.Style { | |
return UIBlurEffect.Style(rawValue: 1100) ?? .dark | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment