ios - Displaying a shadow on views that will resize -


I want my thoughts to be shadowed when I first added shadow for all my thoughts, One problem was encountered, the UI was very long. I then realized that I should use the UIBezierPath instead and should show the shouldRasterize to true shade everything became silky smooth, but With one problem, these shadows are stable they will not do again with ideas. These ideas are each of their own UITableViewCell and the height of these cells is dynamic to fit the contents in the scenes The form has been adjusted. But when the size of a certain cell changes (with animation) I would like to change the size of the ideas and their shadows, but they will not do as they have become raster.

Do anyone have any idea how can I fix this problem?

Will this shadow be dragged? If so, you can try to attract your shadow once shared UIImage (and cache it)

and then set UIImageViews to resizeable UIImage with your ideas with the method of UIImage

  resizableImageWithCapInsets:  

You will have an image for all the images which will be added in the background as UIImageView for your ideas.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -