Welcome, Guest
Username Password: Remember me

Difficulty with popovers
(1 viewing) (1) Guest

TOPIC: Difficulty with popovers

Difficulty with popovers 1 year, 6 months ago #1

Dear Sensiblecocoans,

I'm having some issues with popovers, I've created a sample project for you to look at that I will attach to this thread.

I'm working on a project that requires tag management and selection.

I've created two view controllers. One which allows the user to create and delete tags (called TagManagementController in the sample project), and one which allows the user to select tags (called TagSelectionController in the sample project).

In the full project TagSelectionController has other options at the top level but in this example is just has a selection cell which takes the user to a list of tags.

The problems are these:

- In the TagManagementController the 'edit' button doesn't work but more importantly (although I suspect related), when a modal controller is presented the navigation bar in the modal controller is see-through and when the modal controller is dismissed the navigation bar for the top-level view is gone.

- In the TagSelectionController when the selection cell is displayed, the border for the popover is enlarged and the new controller is displayed with an offset.

I'm going to attach the sample project now and then I'll try to attach some screenshots showing what's going on. This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
  • oldbeamer
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 0

Re: Difficulty with popovers 1 year, 6 months ago #2

Here's what the tag management popover looks like when it is first presented. In this case a tag with an empty name has been selected.


screenshot1.png
  • oldbeamer
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 0
Last Edit: 1 year, 6 months ago by oldbeamer.

Re: Difficulty with popovers 1 year, 6 months ago #3

The '+' button has been pressed and you can see the detail view that is presented using CurrentContext, if you look closely at the navigation bar you'll see that it seems to be transparent.


screenshot2.png
  • oldbeamer
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 0
Last Edit: 1 year, 6 months ago by oldbeamer.

Re: Difficulty with popovers 1 year, 6 months ago #4

Now the detail controller has been dismissed and you can see that the navigation bar for the top level view is gone.
screenshot3.png
  • oldbeamer
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 0

Re: Difficulty with popovers 1 year, 6 months ago #5

This is what the top level of the tag selection controller looks like. In the real project there are other options present here too so it's not an option to go straight into tag selection. That's why a selection cell is used.
screenshot4.png
  • oldbeamer
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 0

Re: Difficulty with popovers 1 year, 6 months ago #6

When the 'tags' cell is tapped and as the new controller is displayed the borders of the popover are corrupted. This is what they end up looking like:



screenshot5.png
  • oldbeamer
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 0
Last Edit: 1 year, 6 months ago by oldbeamer.
Time to create page: 1.73 seconds