Why Do I Get "Must Translate Autoresizing Mask into Constraints to Have _Sethostslayoutengine:Yes" in Xcode 6 Beta

why do i get Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES in xcode 6 beta

Not sure how much this helps, but I see the same error if I try to place a cell directly in a UIView rather than in a table. This worked fine with Xcode 5 so I suspect it is a bug with XCode6/ios8. In the mean time, debug into that method and look at your tableView. Make sure it actually has an instance of the cell you are trying to retrieve.

Update: Filed a bug report with Apple and I can confirm that this is an ios8 issue. Unfortunately it is still there as of beta-5, hopefully they will have it fixed before the final release.

subclassing uitableview cell without using uitableviewcontroller

well. the problem was i couldnt insert static view top of uitableview.

There are several workarounds for this.

  1. Put the static view on the window ([self.tableView.window addSubview:staticView]). You will need to manage the removal of the static view before the table view controller disappears.

  2. Have an outer view controller which has the static view. The outer view controller has your table view controller in a container view.


Back to your current issue. When you swapped the table view controller for a regular view controller, did you rebuild your storyboard? Simply swapping the type will cause errors.

Use table view disclosure indicator style for uibutton ios

Note that you must use a transparent background

Here's the best possible match I can get, in a photoshop file:

Note that it includes the REAL iOS IMAGE (from a screenshot) underneath as a layer, so you can compare.

http://www.filedropper.com/fakearrowiosnov2013psd


It seems like VBK wants the single chevron from the UITableView collection. Which is called 'Disclosure Indicator' as opposed to the one available from UIButton which is 'Detail Disclosure'.

I think you want something like this:

UITableView Disclosure Indicator Image for Buttons

It is 50x80 with a transparent background. Use this image on top of a button or UIImageView. Resize it to whatever size you'd like your button to be. Apple recommends a hit target of no less than 40x40. I sized it to 10x16 in my storyboard, but I am using a transparent button overlay so the size doesn't matter.

Image Mirror : http://imgur.com/X00qn0Z.png


Just note however this is not precisely the image used in iOS7. (Nov 2013.) To get the exact image, simply run an app in retina in your simulator, and make a screenshot.



Related Topics



Leave a reply



Submit