Star-Dust Expert Licensed User Longtime User Feb 18, 2022 #1 I need to turn this code into b4i. can anyone help me? Objective-C: UIView* dummyView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)]; myTextField.inputView = dummyView; Last edited: Feb 19, 2022
I need to turn this code into b4i. can anyone help me? Objective-C: UIView* dummyView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)]; myTextField.inputView = dummyView;
Star-Dust Expert Licensed User Longtime User Feb 18, 2022 #2 Solved by myself, every now and then I remember that I am a developer too B4X: no.RunMethod ("setKey:", Array (View)) #If OBJC - (void) setKey : (UITextField *) textField { UIView* dummyView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)]; textField.inputView = dummyView; } #End If Last edited: Feb 19, 2022 Upvote 0
Solved by myself, every now and then I remember that I am a developer too B4X: no.RunMethod ("setKey:", Array (View)) #If OBJC - (void) setKey : (UITextField *) textField { UIView* dummyView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)]; textField.inputView = dummyView; } #End If