Find all available UIFont on iOS is very simple: [crayon-6003dc205374b497430802/] UIFont available for iOS 7 beta 1: Font family: ( Thonburi, “Academy Engraved LET”, “Snell Roundhand”, Avenir, “Marker Felt”, “Geeza...
Find a char or string in a NSString is very simple, we have for example a NSString called thestring that contains “auto and bike”. To find the word and, the code is here: [crayon-6003dc2053e58613020246/]
Put in .h file, the delegate and datasource where it has been declared UIPickerView: [crayon-6003dc20545bc753446591/] Later in .m file, declare UIPickerView, with delegate and datasource = self: [crayon-6003dc20545ca396283708/] As the last thing, put...
In a UISegmentedControl change their style is applied with another away from iOS 5.0 Declare one NSDictionary: attributes Later to first insert your own style with object: [UIFont fontWithName: @ “Eraser” size: 12] and after the attribute...
Detect which device you are using has become, by now, fundamental to better manage their own app. The times where everything was ‘simple’ are over, now we have to optimize as much as possible for every device you use. For this there are some...
Add a UIScrollView programmatically is very simple: [crayon-6003dc205655b932679221/] In the second part, we give the size of the scroll: [crayon-6003dc2056569398894555/] This CGSizeMake(640, 460), means that our scrollview scrolls vertically up to 640px....