cocoa-touch Questions

12

Is it possible to change the font size of tabs?
Expostulatory asked 5/4, 2010 at 1:58

6

Solved

Is there a way to set the starting selected segment in a UISegmentedControl in Interface Builder, or do I have to do it in the code? If it's in the code, is viewDidLoad the best place to set it?
Ascendancy asked 22/6, 2009 at 14:8

12

Solved

Mobile Safari allows you to switch pages by entering a sort of UIScrollView horizontal paging view with a page control at the bottom. I am trying to replicate this particular behavior where a hori...
Yolk asked 3/8, 2009 at 1:10

5

Solved

I'm trying to get the height of the iOS keyboard. I've gone through and used the method involving subscribing to a notification such as detailed here: https://gist.github.com/philipmcdermott/51837...
Korn asked 17/11, 2014 at 20:22

6

Solved

In my app, I have some custom titles (with lettering that isn't a font) stored in pngs that I want to put as the title of my navigation. I want the lettering in the titles all to be the same size f...

3

Solved

Basically I'm downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I'm using the masking code everyone seems to point at which can be fou...
Rhizomorphous asked 10/11, 2009 at 14:8

18

Solved

I want to customize my app's look by using a logo image as the navigation bar's title, instead of plain text. When I use this code let logo = UIImage(named: "logo.png") self.navigationItem.titleVi...
Selenography asked 17/7, 2014 at 12:9

3

Solved

I have a Scrollview within View. I want to use the function scrollViewDidScroll to check and update the arrows (left right). - (void)scrollViewDidScroll:(UIScrollView *)scrollView { NSLog(@"Did...
Pitfall asked 30/12, 2012 at 23:45

7

Solved

I want the text in a UITextField (or ideally, a UILabel) to be non-editable, but at the same time give the user the ability to copy it to paste elsewhere.
Newell asked 17/12, 2009 at 9:40

4

Believe me, I have read all the other questions on this topic. None of them solved my problem (or were even quite the same problem). Facebook login has been working perfectly fine for me for weeks....
Sharpset asked 7/8, 2015 at 17:2

3

Solved

Updated I'm using the sinch library to make video call in my app. I've button to take screenshot for the whole screen during the video call : @IBAction func photoAction(_ sender: Any) { let re...
Nonchalance asked 20/12, 2016 at 9:47

19

Solved

How can we check if a string is made up of numbers only. I am taking out a substring from a string and want to check if it is a numeric substring or not. NSString *newString = [myString substringW...
Monkery asked 22/5, 2011 at 23:4

4

Solved

If you have a subscription with two different possible lengths in your iOS app, and the user, who has purchased the shorter subscription, decides to purchase the longer subscription instead, they g...
Carisacarissa asked 20/2, 2012 at 3:56

4

Solved

During my performance tests I found out the the SQLite version which Apple provides on the iPhone 3.0 is significantly faster then my self compiled amalgamation SQLite version. So my question is, i...
Wildee asked 19/5, 2009 at 7:14

4

Solved

I have got two audio tracks on me that I combine with one another like this: AVMutableComposition *composition = [[AVMutableComposition alloc] init]; AVMutableCompositionTrack *compositionAudioTr...
Lysin asked 26/11, 2013 at 8:16

9

Solved

Somehow my iPhone Simulator is unable to play sounds. First an app I'm working on using AudioServicesPlaySystemSound() stopped working.. I spent a while debugging this but sound is still working on...
Bess asked 19/11, 2008 at 16:5

2

Solved

Apple recommends using [UIDevice currentDevice].identifierForVendor. The value of this changes every time one runs their application within the iOS simulator. Initial functionality in my applicat...
Revolting asked 19/9, 2013 at 21:19

6

Solved

Is there a way to prevent the user from moving the cursor in a UITextField? I'd like it to stay at the end of the string.
Intrigante asked 14/5, 2009 at 22:30

4

Solved

i want to add facility in my iOS application that user can reply to the my message directly from the push notification. Like iMessage app is doing it in iOS 8. I am able to add buttons to push noti...
Slake asked 15/9, 2014 at 5:15

50

How can I create a UIColor from a hexadecimal string format, such as #00FF00?
Showy asked 13/10, 2009 at 12:59

2

Solved

I'm building an app that loads in a small amount of simple HTML (locally) into a single full-screen UIWebView. I'm noticing that scrolling this web view feels significantly different than scrolling...
Kemerovo asked 7/2, 2013 at 23:41

3

Solved

my iPad app has a small download facility, for which I want to append the data using an NSFileHandle. The problem is the creation call only returns null file handles. What could be the problem? Her...
Pero asked 8/9, 2010 at 3:1

26

I've got some code that resizes an image so I can get a scaled chunk of the center of the image - I use this to take a UIImage and return a small, square representation of an image, similar to what...

3

Solved

I am setting a new value to targetContentOffset in scrollViewWillEndDragging(_:withVelocity:targetContentOffset:) to create a custom paging solution in a UITableView. It works as expected when sett...
Inspection asked 15/6, 2017 at 9:1

5

Since this question was originally asked, UIScrollView deceleration rate customization has been added via the decelerationRate property introduced in OS 3.0. I have a UIScrollView whose decelera...
Popish asked 4/2, 2009 at 21:18

© 2022 - 2024 — McMap. All rights reserved.