You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, great component. I was able to figure out how to change the contentView's background by adding a custom view. However, the background around the contentView along with the arrow, is there an example on how to change that? Doing something like this, I lose the arrow:
If you'd like to customize the background view, you'll need to handle drawing the arrow yourself as well. The background view is a bit complicated - your best bet would be to start with the included background view and customize it from there.
First off, great component. I was able to figure out how to change the contentView's background by adding a custom view. However, the background around the contentView along with the arrow, is there an example on how to change that? Doing something like this, I lose the arrow:
SMCalloutBackgroundView *test12 = [[SMCalloutBackgroundView alloc] init];
test12.layer.cornerRadius = 10;
[test12 setBackgroundColor:[UIColor redColor]];
[self.calloutView setBackgroundView:test12];
The text was updated successfully, but these errors were encountered: