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

Getting nil while calling the login method. #41

@ambujshukla-cdn

Description

@ambujshukla-cdn

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+

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions