Misplaced View Frame for "Label - Label" will be different at run time

来源:互联网 发布:音频矩阵品牌 编辑:程序博客网 时间:2024/05/22 05:05

I just finished an app on iOS 6 and bought a developer account a week ago so haven't had much time playing with the iOS 7 SDK. Just downloaded the Golden Master version and trying to upgrade my app to be compatible with iOS 7.

I received a lot of warnings saying "Misplaced View Frame for "Label - Label" will be different at run time." and i am unable to run the program. The project contains tableview and its is parsing and displaying xml feed from an rss.

Anyone knows how to fix this issue? Thanks a lot in advance!

I had the same issue and I get below response form Apple:

You need to update the constraints to match the frames of these views.

I did the following:

Editor -> Resolve Auto-Layout Issues -> Clear all constraints in ** view controller

then I reordered my objects again in the view.

PS: Try Enrico's solution first.

0 0
原创粉丝点击