You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
3.4 KiB
132 lines
3.4 KiB
// |
|
// qQPG_A13_Ipdjbc.m |
|
// Created by apple on 2023/09/01 |
|
// |
|
// Copyright © 2023年 apple. All rights reserved. |
|
// |
|
|
|
|
|
#import "qQPG_A13_Ipdjbc.h" |
|
@implementation qQPG_A13_Ipdjbc |
|
#pragma mark:使用iOS原生来实现 |
|
+ (void)msg_X13_eudemonia:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"loquacious"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"tranquility"); |
|
|
|
} |
|
|
|
#pragma mark:纯代码适配iPhone X脚底 |
|
+ (void)okg_X12_serendipity:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"sweetheart"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"smithereens"); |
|
|
|
} |
|
|
|
#pragma mark:无线真机测试 |
|
+ (void)fag_method_renaissance:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"gorgeous"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"zing"); |
|
|
|
} |
|
|
|
#pragma mark:好的代码注解应该是这样的 |
|
+ (void)snk_X15_Butterfly:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"rendezvous"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"evanescence"); |
|
|
|
} |
|
|
|
#pragma mark:9.0才能使用,web内容处理中断时会触发 |
|
+ (void)fag_method_smithereens:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"parameter"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"believe"); |
|
|
|
} |
|
|
|
#pragma mark:首先我们来看一下html部分的代码 |
|
+ (void)bmg_X12_hodgepodge:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"nostalgia"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"passion"); |
|
|
|
} |
|
|
|
#pragma mark:我们在需要调用JS方法的位置加上下面代码 |
|
+ (void)nsg_method_freedom:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"loquacious"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"cosmopolitan"); |
|
|
|
} |
|
|
|
#pragma mark:9.0才能使用,web内容处理中断时会触发 |
|
+ (void)bag_X11_wangyi:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"flabbergasted"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"hodgepodge"); |
|
|
|
} |
|
|
|
#pragma mark:可以注入多个名称(JS对象),用于区分功能 |
|
+ (void)bag_X11_Smithereens:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"Destiny"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"ephemeral"); |
|
|
|
} |
|
|
|
#pragma mark:方便别人阅读自己代码 |
|
+ (void)uad_X15_bumblebee:(NSString *)arg1 wbhimNnsfka:(NSString *)wbhimNnsfka { |
|
NSLog(@"function:%s line:", __FUNCTION__); |
|
|
|
[wbhimNnsfka substringFromIndex:1]; |
|
|
|
[wbhimNnsfka isEqualToString:@"rendezvous"]; |
|
|
|
NSLog(@"%@===%@", wbhimNnsfka,@"apple"); |
|
|
|
} |
|
|
|
|
|
@end
|
|
|