[ios] Make user heading indicator property IBInspectable
Rename it to `showsHeading` to fit in the tiny label column of the utilities panel.
This commit is contained in:
@@ -5775,4 +5775,19 @@ private:
|
||||
self.pitchEnabled = allowsTilting;
|
||||
}
|
||||
|
||||
+ (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingShowsHeading
|
||||
{
|
||||
return [NSSet setWithObject:@"showsUserHeadingIndicator"];
|
||||
}
|
||||
|
||||
- (BOOL)showsHeading
|
||||
{
|
||||
return self.showsUserHeadingIndicator;
|
||||
}
|
||||
|
||||
- (void)setShowsHeading:(BOOL)showsHeading
|
||||
{
|
||||
self.showsUserHeadingIndicator = showsHeading;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user