PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Handling a Native Container control by programming
Handling a Native Container control by programming
Iniciado por anand, dez., 17 2019 4:05 PM - Sem resposta
Publicado em dezembro, 17 2019 - 4:05 PM
Referring to the article below

https://help.windev.com/en-US/…

does anyone know what the following code means



PlaceHolder procedure (used by the IOS_AddButtonIntoNativeControl procedure). CAUTION: This code must be placed BEFORE the code of global procedure IOS_AddButtonIntoNativeControl.
#import "UIKit/UIKit.h"
void PlaceHolder(){}
@interface SimpleClass: NSObject
@end
@implementation SimpleClass

- (void)onClick:(id)unused{
[self performSelector:@selector(onClickDelayed:) withObject:unused afterDelay:0];
}

- (void)onClickDelayed:(id)unused{
ClickOnNativeButton();
}


@end