objective c - Scrollable UIAlertView for iOS 8 -



objective c - Scrollable UIAlertView for iOS 8 -

i'm trying create long, multi-line text pop in uialertview , scrollable. unfortunately it's not scrollable default. missing something?

nsstring* messagestring = @"long string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\nlong string\n"; uialertview *alertview = [[uialertview alloc] initwithtitle:@"long message placeholder" message:messagestring delegate:nil cancelbuttontitle:@"ok" otherbuttontitles:nil]; alertview.userinteractionenabled = yes; [alertview show];

ios objective-c iphone ios8 uialertview

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -