Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSRunAlertPanel標準のアップル ツールを使用して、ハイパーリンクをメッセージ テキストに挿入することはできますか?
NSRunAlertPanel
NSAlertパネル内のメッセージは単なる文字列、つまり単純なテキストであるため、これが可能だとは思いません。それが単なる文字列ではなく、たとえば の場合NSMutableAttributedString、それは可能です。
NSAlert
NSMutableAttributedString
したがって、カスタム パネル、ビュー、またはウィンドウと、その中のハイパーリンクを作成することをお勧めします。