MPNotificationView icon indicating copy to clipboard operation
MPNotificationView copied to clipboard

just a suggestion~

Open donbe opened this issue 12 years ago • 4 comments

Not perfect! The status bar is not the same, Some sense of jumping

donbe avatar Jan 08 '13 05:01 donbe

is it possible to grab a UIImage of the statusbar prior to showing the notification?

iOSDevil avatar Jan 08 '13 15:01 iOSDevil

technically it is possible to capture the status bar using UIGetScreenImage but it's a private API and would result in your app being rejected.

ekurutepe avatar Jan 08 '13 15:01 ekurutepe

Hmm, that'd be a problem :)

Maybe something along the lines of a view which matches the tint of the statusbar. I'll scratch my head for a bit.

On 8 Jan 2013, at 15:35, Engin Kurutepe [email protected] wrote:

technically it is possible to capture the status bar using UIGetScreenImage but it's a private API and would result in your app being rejected.

— Reply to this email directly or view it on GitHub.

iOSDevil avatar Jan 08 '13 15:01 iOSDevil

I've been thinking along the same lines. It should be possible to include a couple of prerendered status bar images and tint them accordingly if needed.

Please feel free to submit a pull request if you make progress on this.

ekurutepe avatar Jan 08 '13 15:01 ekurutepe