ক এর বাম দিক থেকে আমার ইমেল ঠিকানাটি প্রদর্শন করা দরকার UIButton
তবে এটি কেন্দ্রে অবস্থান করছে।
এ এর বাম দিকে প্রান্তিককরণ সেট করার কোনও উপায় আছে কি UIButton
?
এটি আমার বর্তমান কোড:
UIButton* emailBtn = [[UIButton alloc] initWithFrame:CGRectMake(5,30,250,height+15)];
emailBtn.backgroundColor = [UIColor clearColor];
[emailBtn setTitle:obj2.customerEmail forState:UIControlStateNormal];
emailBtn.titleLabel.font = [UIFont systemFontOfSize:12.5];
[emailBtn setTitleColor:[[[UIColor alloc]initWithRed:0.121 green:0.472 blue:0.823 alpha:1]autorelease] forState:UIControlStateNormal];
[emailBtn addTarget:self action:@selector(emailAction:) forControlEvents:UIControlEventTouchUpInside];
[elementView addSubview:emailBtn];
[emailBtn release];