uiaccessoryview

Detect when both the master and detail view controller are on screen?

血红的双手。 提交于 2019-12-21 03:43:22
问题 I have implemented a UISplitViewController using a Universal Storyboard in Xcode 6. UISplitViewController is supported on iPhone running iOS 8 now, and by default only one view controller will be on screen at a time. I need to know when both the master and detail view controllers are both on screen (iPad). I need to remove the disclosure indicators from UITableViewCell s in the case both are on screen - only render them when only the master view controller is on screen (iPhone), just like the

What's the difference between an Detail Disclosure Button and an Disclosure Indicator?

被刻印的时光 ゝ 提交于 2019-12-20 08:36:08
问题 What's the difference between a Detail Disclosure Button and a Disclosure Indicator? For me, both things are the exact same thing, just that they look a little bit different. The first is a blue round button with an chevron to the right. The second is an simple chevron to the right. Both things mean the same, to me. They mean "more". But someone claimed that Apple will reject the app if the one or the other is used in the wrong situation. Does someone have an example when the blue Detail

Wrong Background Color in Accessory View on iOS7

你说的曾经没有我的故事 提交于 2019-12-12 11:32:19
问题 I have a UITableView and I have set my cell background color to RGB 244, 240, 246. I've done this by setting the background color on the table, table cell, and the content view in the table cell. However, the accessory (in this case the checkmark) has a black background instead. When I enable editing on the table, the delete circle on the left side also has a black background. I cannot seem to change this background color. I've tried doing so with the following code: cell.editingAccessoryView

Detect when both the master and detail view controller are on screen?

懵懂的女人 提交于 2019-12-04 01:37:25
I have implemented a UISplitViewController using a Universal Storyboard in Xcode 6. UISplitViewController is supported on iPhone running iOS 8 now, and by default only one view controller will be on screen at a time. I need to know when both the master and detail view controllers are both on screen (iPad). I need to remove the disclosure indicators from UITableViewCell s in the case both are on screen - only render them when only the master view controller is on screen (iPhone), just like the Settings app. I could simply detect the device and only add them if it's an iPhone, but that's not