Could you kindly provide the output you receive in the console for the error.
Post
Replies
Boosts
Views
Activity
That did not work. Could it be because the tap gets intercepted by some of the gesture recognizers. I have 3 in local scope inside the class but not inside a function.
let postsTap = UITapGestureRecognizer(target: self, action: #selector(homeVC.postsTap))
						postsTap.numberOfTapsRequired = 1
						header.posts.isUserInteractionEnabled = true
						header.posts.addGestureRecognizer(postsTap)
		
						let followersTap = UITapGestureRecognizer(target: self, action: #selector(homeVC.followersTap))
						followersTap.numberOfTapsRequired = 1
						header.followers.isUserInteractionEnabled = true
						header.followers.addGestureRecognizer(followersTap)
				
						
						let followingsTap = UITapGestureRecognizer(target: self, action: #selector(homeVC.followingsTap))
						followingsTap.numberOfTapsRequired = 1
						header.followings.isUserInteractionEnabled = true
						header.followings.addGestureRecognizer(followingsTap)
				
						return header
Should I add that instead of
collectionView?.addSubview(refresher)
The click should be registered when the user clicks the picture. This is the function
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
				
				print("clicked	did select")
				// send post uuid to "postuuid" variable
				postuuid.append(uuidArray[indexPath.row])
				
				// navigate to post view controller
				let post = self.storyboard?.instantiateViewController(withIdentifier: "postVC") as! postVC
				self.navigationController?.pushViewController(post, animated: true)
		}
Would I add the nib class in the function scope or the class scope?
It is presented modally. As in if the user clicks the sign up button on the regular sign in screen it brings up a modal sign up screen. I have a felling this could be happening because the login func is in app delegate. I am trying to figure out the syntax for moving it to scene delegate because I am trying to find out if there is a version of “UIApplication.shared.delegate” to reference scene delegate instead. Hope that helps.
Also this is the function calling it
								let appDelegate : AppDelegate = UIApplication.shared.delegate as! AppDelegate
								appDelegate.login()
Thanks so much! I couldn't remember why I wrote it a while back.