Yalantis/Segmentio

ViewController embedded in UINavigationController

Closed this issue · 1 comments

Report

Hi everyone!

I added Segmentio to a new project I'm working on. Project setup is simple, a View Controller embedded in a UINavigationController. Added a UIView via Storyboard, set to Segmentio class, set its outlet and added a simple setup function. But I'm seeing only this:

segmentio

If I remove the UINavigationController everything shows fine.

Thanks in advance for any help you can provide.

Your Environment

  • Version of the component: 2.1
  • Swift version: 3
  • iOS version: 10.1
  • Device: Simulator
  • Xcode version: 8.1

Stack

   CocoaPods : 1.2.0.beta.1
        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
    RubyGems : 2.0.14.1
        Host : Mac OS X 10.11.6 (15G1212)
       Xcode : 8.1 (8B62)
         Git : git version 2.9.3 (Apple Git-75)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 70a2c5c37ccbac12d109e8bed739bfb5616f15b8

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.1.1
cocoapods-try         : 1.1.0

Podfile

platform :ios, "10.0"

use_frameworks!

target 'segmentio-test' do

pod 'Segmentio', '~> 2.1'

end

Project that demonstrates the bug

https://github.com/zentraedi/segmentio-test

I solved the issue with #19

Thanks.