title: Place UIButton at the end of text in UITextView in iOS app in Xcode written in Swift
body: <p>In one <code>ViewController</code> of my app there's a <code>UITextView</code>. I want to have an "Allow Push Notifications" button at the end of the text. But since a button is static a the text in the <code>TextView</code> is dynamical depending on display width it looks really bad on some devices and orientations.</p>
  
  <p>Does anybody know how to solve this problem? Is there a possibility to insert a button in a <code>TextView</code>. Or can I align the button depending from <code>TextView</code> content height?</p>
  
  <p>Regards,
  David.</p>