[ios] Hide location button in follow&rotate state on routing.

This commit is contained in:
Ilya Grechuhin 2016-07-19 16:19:48 +03:00
parent 5fd325e209
commit 69b9bc8f4a

View file

@ -96,6 +96,7 @@ NSArray<UIImage *> * animationImages(NSString * animationTemplate, NSUInteger im
- (void)processMyPositionStateModeEvent:(location::EMyPositionMode)mode
{
UIButton * locBtn = self.locationButton;
locBtn.hidden = GetFramework().IsOnRoute() && mode == location::FollowAndRotate;
[locBtn.imageView stopAnimating];
NSArray<UIImage *> * images =