the name "setShowmyloc" is auto completed by xcode(8.2+ios 10.2 sdk) not typed by myself.
I've done the test just now,maybe you are wrong.
I've added a prop named testpro and modify the setter method in your way,but the b4i still error with same error:
no visible @interface for 'iAMap' declares the selector 'settestpro:'
//in h
@property (nonatomic,assign)BOOL testpro;
//in m
-(BOOL)testpro{
return true;
}
-(void)settestpro:(BOOL)testpro{
}
//the code b4i gen
[self._mv settestpro:[self.__c True]];
with screen cap image: