i have to show pop from bottom with 150 height, inside that pop up there will be image and a button ... pop up will open only when i click specific tab bar index 1
@karthikeyan
how will i do that
also i want not to open a view controller on tab bar click it should only show pop up from bottom and when pop shows tab bar should be hidden and when i click on button inside button that pop will be closed and tab bar will show
You better make extension to UIViewController, that will make a sense so that you can use that xib where ever listing occurs.
Custom UIView class
import UIKit
class NoDataFound: UIView {
@IBOutlet var noDataLbl: UILabel!
var view = UIView()
override init(frame: CGRect) {
...