最奇怪的事情。我有countryname = countryNode.Attributes["id"].Value;
的图片和标题。
触摸按钮的唯一代码是:
UIButton
虽然if ([[MomentCreationShared sharedMySingleton].owner._id isEqualToString:[UserDataManager getCurrentUserID]])
{
[cell.createMomentButton setTitle:@"Create a new Moment" forState:UIControlStateNormal];
}
else
{
[cell.createMomentButton setTitle:@"Create a moment of your own" forState:UIControlStateNormal];
}
框架cell.createMomentButton
,imageEdgeInsets
和titleEdgeInsets
相同(使用断点检查)
图像偏移了一点,我不能'似乎弄清楚原因: