19 viewConfig.
visibleWidgets = NCNavigationWidgetVisibilityZoomControls | NCNavigationWidgetVisibilityFollowMeButton;
21 followMeConfig.
accentColor = [
UIColor colorWithRed:48/255.0 green:170/255.0 blue:217/255.0 alpha:1];
25 followMeConfig:followMeConfig
32- (void)demonstrateZoomControlsConfig {
35 zoomConfig.
buttonBackgroundColor = [UIColor colorWithRed:250/255.0 green:250/255.0 blue:250/255.0 alpha:242/255.0];
36 zoomConfig.
textColor = [UIColor colorWithRed:21/255.0 green:45/255.0 blue:71/255.0 alpha:1];
44- (void)demonstrateFollowMeButtonConfig {
47 followMeConfig.
accentColor = [UIColor colorWithRed:48/255.0 green:170/255.0 blue:217/255.0 alpha:1];
48 followMeConfig.
buttonBackgroundColor = [UIColor colorWithRed:250/255.0 green:250/255.0 blue:250/255.0 alpha:242/255.0];
49 followMeConfig.
textColor = [UIColor colorWithRed:21/255.0 green:45/255.0 blue:71/255.0 alpha:1];
57- (void)demonstrateFloorSelectorViewConfig {
60 floorConfig.
accentColor = [UIColor colorWithRed:48/255.0 green:170/255.0 blue:217/255.0 alpha:1];
61 floorConfig.
textColor = [UIColor colorWithRed:21/255.0 green:45/255.0 blue:71/255.0 alpha:1];
62 floorConfig.
buttonBackgroundColor = [UIColor colorWithRed:250/255.0 green:250/255.0 blue:250/255.0 alpha:242/255.0];
63 floorConfig.
insets = UIEdgeInsetsMake(145, 16, 0, 0);
70 viewConfig.
visibleWidgets = NCNavigationWidgetVisibilityZoomControls | NCNavigationWidgetVisibilityFollowMeButton;
74 followMeConfig.
accentColor = [
UIColor colorWithRed:48/255.0 green:170/255.0 blue:217/255.0 alpha:1];
85 newViewConfig.
visibleWidgets = NCNavigationWidgetVisibilityFollowMeButton;
88 [
view setConfigWithViewConfig:newViewConfig zoomConfig:nil followMeConfig:newFollowMeConfig floorConfig:nil];