简体   繁体   中英

Extending Background Objective-C

I am making a jailbreak tweak that involves the multitasking switcher tray opening up a bit higher than normal... This causes there to be a black bar above the linen background image... How can I extend the linen image, or repeat it somehow so that it looks seamless?

The linen is in class SBAppSwitcherBarView

it is called SBLinenView

Thanks! :)

You'll want to create a new SBLinenView and place it where you want to extend it. You can do this by using SBLinenView 's +(id)squareImageForBounds:(CGRect)bounds which returns a square UIImag e of the bounds you pass it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM