开发者

animated view similar to popover view in Ipad

开发者 https://www.devze.com 2023-02-23 07:50 出处:网络
I have a table view and it is populated by some data. I want to add something in the didSelectedRow function , such that a view opens up taking up most of the screen and the previous view darkens but

I have a table view and it is populated by some data. I want to add something in the didSelectedRow function , such that a view opens up taking up most of the screen and the previous view darkens but is behind this newly popped over view ( similar to the animated view opening when clicking any image in the music folder of Ipad). I would just like to know what is that particular functionality called so that I can implement it.

Previously I was using popoverview controller which enabled me to display a popover but开发者_如何学C I dont like using it and I am looking for alternatives.

I am just unable to find the exact name of what I want to implement. It would be great if anyone could just tell me the name of the property/function I can use to implement what I need.

The functionality I want is something similar to presentModalViewController. However, I dont want to use presentModalViewController


I think you are talking about presentModalViewController:animated: with a modalPresentationStyle of UIModalPresentationFormSheet.

If that is not what you mean, you would have to construct it yourself with a semi-transparent container view (dark background color) that covers the whole screen containing a smaller content view.

0

精彩评论

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