iOS:TextField support virtical alignment

This commit is contained in:
pengfei.zhou
2021-09-09 11:59:13 +08:00
committed by osborn
parent 228c2c131c
commit 58067e217e
2 changed files with 83 additions and 20 deletions

View File

@@ -36,11 +36,6 @@ - (void)localeChanged {
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
NSArray<NSString *> *fonts = [UIFont familyNames];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(localeChanged)
name:UITextFieldTextDidChangeNotification
object:nil];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.rootVC = [[ViewController alloc] init];