Should I ask if he is still interested?

So here is the deal, i have been dating this guy for a while and when we are together everything is perfect but when we are not we hardly talk. I don't text him first anymore because I am afraid that he will leave me on read like he has many times. We only hang out when he can because he has a daughter and he gets her a couple of days out of the week, which I completely understand. I like him so much but I just don't think I can continue this relationship if he isn't putting in effort. Should I just be straight up with him and ask if he is still interested or should I just end things?