Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

on_click seems invalid after section.reload about TabbedSection? #29

Open
cactis opened this issue Oct 23, 2014 · 0 comments
Open

on_click seems invalid after section.reload about TabbedSection? #29

cactis opened this issue Oct 23, 2014 · 0 comments

Comments

@cactis
Copy link
Contributor

cactis commented Oct 23, 2014

neet to do this..

  def reload
    super
    @tab_pages.each { |page|
      page.model = model
      page.reload
    }
    control = element(:control).view
    control.addTarget(
      self, action: :on_click, forControlEvents: UIControlEventValueChanged
    )
    show_at_index 0
  end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant