开发者

Hover menu on UITabBar Item on iPhone

开发者 https://www.devze.com 2023-04-12 20:15 出处:网络
I\'m looking to implement a hover menu that is temporary and will automatically fade away (either with a timer or by the user tapping on it manually) over a UITabBar Item on the iPhone.

I'm looking to implement a hover menu that is temporary and will automatically fade away (either with a timer or by the user tapping on it manually) over a UITabBar Item on the iPhone.

I've looked into the WEPopover library but it wasn't quite as helpful as I would have liked it to be for my use case.

I see mobile websites achieve my desired effect all the time but am interested in duplicating this functionality (albeit to use it less frequently than they seem to) in Cocoa Touch for a first-run sort of guide in an app.

Hover menu on UITabBar Item on iPhone

Anyone have any ideas I should explore in how to go about im开发者_如何学Cplementing this?


There's really no good answer to this, I don't think. You're going to have to implement your own UI, possibly in connection with a subclass of UITabBar, in order to achieve this. The actual popup UI probably exists in any number of third-party code, but you'd have to come up with your own system. A "simple" solution would be to place these popup views on the application window so they could appear atop all other UI elements. You'd also create a manager class to control presenting, dismissing, and timing these elements.

0

精彩评论

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