Click on the floor plan area in the iPhone app?

I want to create an iPhone app that displays the floor plan of different regions / rooms. When a user clicks on an area / room, he displays the color of the state of the click for a split second before moving on to a new UIView with additional textual information.

Do I have to configure all the different regions through UIImages or do I have to program my own floor plans? I tried to draw some rectangles programmatically, but was not sure that you can connect event bindings to the chart. Or, if it's easier, programmatically create floor maps with unusual shapes.

+3
source share
1 answer

, . . Question. , UIScrollView Zoom in out functionality. UIViews Scroll, UIViews UILable. Room / Booth, . , Query , , Floor Map .

, , UITapGestureRecognizer, .

UITapGestureRecognizer *fingerTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handlefingerTap:)];
fingerTap.delegate = self;
[fingerTap setNumberOfTapsRequired:1];

, [rigionView addGestureRecognizer:fingerTap];

- (void)handlefingerTap:(UIGestureRecognizer *)gestureRecognizer
{}

UIViews Scroll, for loop.i, .

, .

+1
source

All Articles