开发者

Making the MKMapView transparent but keeping overlays opaque

Is there a way to make the map somewhat transparent but keep all the added overlays opaque? Adjusting the alpha for the map will of course set it for th开发者_高级运维e overlays as well.


You would have to fiddle around with MKMapView's subviews which is possible but completely undocumented and not recommended by Apple. Basically you'd need to find the subview with the actual map and set its alpha. No guarantee it'll actually work!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜