Local Notification scheduling for end date

There is no option property to set an end date for the notification. Does that mean the it will run infinitely if option value for ‘every’ is set until you cancel it?

If that’s the case, what’s the best way to implement this without individually creating the notifications based on the frequency?

Many thanks