开发者

IB not responding to UIImageView moving

This an incredibly annoying bug. I had a imageView and 2 Labels in a customCell nib. I changed the locations of all of them in the nib and the labels moved, view didn't.

I've cleaned m开发者_JAVA百科y targets, deleted everything relating to it the library, deleted the cell completely, reset the simulator, built it on a different target (3.1.2) and it still compiles the image in the same stupid spot.

Can anyone help this is nuts.

Sorry for being blunt but completely frustrated.

Edit: I have deleted the nib and created it over again by hand, but with the same names. Doesn't fix it. I've checked to see if im moving it somewhere in the code and no dice.


It moves in IB right ? Just goes back to where it was when executed ?

The first thing that springs to mind is that it is being (re)positioned by code - is anything messing with its frame ?

The other option is that its the parent frame that is being moved, putting the image back where it was.

If not, I'd probably re-build the XIB from scratch, assuming its not too complicated.


Problem was I was actually setting the default tablecell property image. Wasn't obvious to me as the original location of the image was unintentionally the default location and size (pretty much) and I moved it to the opposite side though still setting the default image and not the custom one. Having a custom cell too I didn't realise that the image property was still available.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜