How to fix the black line appeared on iPad screen.
If this is the hardware issue, why apple has not fixed it permanently.
iPad, iPadOS 15
If this is the hardware issue, why apple has not fixed it permanently.
iPad, iPadOS 15
Black line?
If you see an unexpected persistent horizontal or vertical line on your iPad screen, begin with a forced-restart of your iPad - as this will often resolve an isolated issue:

If the problem remains unresolved, you’ll need to determine if you have a hardware or software issue. A reliable method to confirm a screen or other hardware fault is to take a screenshot when the fault is evident - and then review the captured screenshot image...
When reviewed, if the lines are not present in the screenshot image, then you have demonstrated that you have a hardware fault that, sooner or later, may become sufficiently severe that repair or replacement of the iPad are the only options. If the lines are visible in the screenshot, the something other than hardware will be the cause.
Note: When reviewing the image, rotating the iPad screen orientation by 90°, from Portrait to Landscape, will ensure that the screenshot image does not coincide with screen defects if present.
Take a screenshot on your iPad – Apple Support
If this test suggests that you have a screen/hardware fault, you would be best advised to the Genius Bar at your local Apple Store or Apple Authorised Service Provider (AASP) - where the technicians will be able to test and assess your iPad. If a fault is confirmed, you’ll be in the best possible place to explore your available options:
Black line?
If you see an unexpected persistent horizontal or vertical line on your iPad screen, begin with a forced-restart of your iPad - as this will often resolve an isolated issue:

If the problem remains unresolved, you’ll need to determine if you have a hardware or software issue. A reliable method to confirm a screen or other hardware fault is to take a screenshot when the fault is evident - and then review the captured screenshot image...
When reviewed, if the lines are not present in the screenshot image, then you have demonstrated that you have a hardware fault that, sooner or later, may become sufficiently severe that repair or replacement of the iPad are the only options. If the lines are visible in the screenshot, the something other than hardware will be the cause.
Note: When reviewing the image, rotating the iPad screen orientation by 90°, from Portrait to Landscape, will ensure that the screenshot image does not coincide with screen defects if present.
Take a screenshot on your iPad – Apple Support
If this test suggests that you have a screen/hardware fault, you would be best advised to the Genius Bar at your local Apple Store or Apple Authorised Service Provider (AASP) - where the technicians will be able to test and assess your iPad. If a fault is confirmed, you’ll be in the best possible place to explore your available options:
How to fix the black line appeared on iPad screen.