UILabel text underlining iOS

UILabel *label=[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 320, 480)];
label.backgroundColor=[UIColor lightGrayColor];
NSMutableAttributedString *attributedString;
attributedString = [[NSMutableAttributedString alloc] initWithString:@"Apply Underlining"];
[attributedString addAttribute:NSUnderlineStyleAttributeName value:@1…

--

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SwiftUI Previews —Is there an easy way to visualize all different UI variations?

SwiftUI is not the future anymore, but is ready right now

Google Sign-in for Flutter App on Android & Web

Understanding SwiftUI Property Wrappers (@State vs @ObservedObject vs @StateObject)

Create an Apple Health API With Shortcuts and Firebase

Combine Core Image Filters and CIDetector to Build Useful iOS Photo & Video Processing Apps

AppDelegate iOS

How to Finish Editing a Document in Swift

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger

More from Medium

What is Swift Language and advantages and disadvantages?

Maegan’s Weekly Stream Links — Issue #3

How to mock API in Swift

Basic Operators in Swift