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

Getting nil while calling the login method. #41

Open
4 tasks
ambujshukla-cdn opened this issue Jun 27, 2018 · 2 comments
Open
4 tasks

Getting nil while calling the login method. #41

ambujshukla-cdn opened this issue Jun 27, 2018 · 2 comments
Assignees

Comments

@ambujshukla-cdn
Copy link

Checklist

Expected Behavior

  1. Should not crash at the starting only when calling the login method.

Actual Behavior

  1. Getting crash on calling this - api.login(from: navigationController!, success: {
    // Do your stuff here ...
    }, failure: { error in
    print(error.localizedDescription)
    })
    Error - Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

Steps to Reproduce the Problem

  1. Just call this :- let api = Instagram.shared

    // Login
    api.login(from: navigationController!, success: {
    // Do your stuff here ...
    }, failure: { error in
    print(error.localizedDescription)
    })

Specifications

  • iOS Version: 11.3
  • Device(s): iPhone6+
@AnderGoig AnderGoig self-assigned this Jul 22, 2018
@AnderGoig
Copy link
Owner

@amith-ranasinghe
Copy link

@ambujshukla-cdn embed your controller to navigation controller.

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

3 participants