I am having an issue where I add a transport control bar to a UIView to provide control for an audio player, and the buttons don't show up all the time. If I tap them (or rather, tap where they should be), they suddenly appear. To complicate matters, most of the time they show up fine...this is kind of sporadic.
Could this be a memo...
This issue really has me stumped...
I have an iPad project that I use UIPanGestureRecognizer and I am using the following method call within my handlePanGesture:
- (AIEnemyUnit *) hitTestForEnemyUnit:(CGPoint)where {
CALayer * layer = [self hitTest:where];
while (layer) {
if ([layer isKindOfClass:[AIEnemyUnit class]]...
I have a custom tableview cell with 5 uitextfields in it.
No matter what textfield I touch my tableview automatically scrolls to the bottom of the cell.
How do i turn this off ? i want to do it manually.
...
There appears to be zero documentation about the SUBQUERY keyword from Apple and I can't find a simple explanation about it on SO or on Google. It's a conspiracy! ;)
Please, could someone from the inner-circle please just provide a quick explanation of its syntax so I can use it?
SUBQUERY(Bs, $x, $x IN %@)
Thanks
...
I've seen other apps are using a round icon for closing a view. The only similar icon I found is UIBarButtonSystemItemStop. But this presents only a rotated cross with a border (as always with buttons) around it.
I rather would like have something like a UIButtonTypeInfoLight. If this button is used, no border is visible. Also the icon ...
I have created sample application that insert 12 rows in tableview.And inserted fine.When after inserted my rows i dont want any changes in text during scrolling of tableview.So i checked with indexpath row has value of UITableViewCell , if it has values means return that cell otherwise we created new UITableViewCell.
My sample code is ...
As I aware about Game-kit framework, i already used the session delegates and peerPickerController.
I want to connect any external device having bluetooth to the iphone through programatically, application will only executed on device, so i able to connect any external device and want to transfer data between them.
Can any suggest me sol...
In .NET I just do something like DataForm.Source = Object and then magic happens. Platform routes data changes from ui fileds to object properties, does validation and so on. Can I do something similar with Cocoa Touch and CoreData objects?
...
Is there any way to hide protocol conforming from an end user? I'll try to describe in details what I want. I have class let's call it EndUserClass which conforms some protocol let's say HiddenClassDelegate and this protocol I'd like to hide from end user. The code looks like as it follows:
@interface EndUserClass : NSObject <HiddenCla...
Hi.
I got the "objc_msgSend()" killer error message in my app and thanks to Hamster Emporium
i can figure out a little bit what was happening.
Now i found the "problem" and the "solution", but what i can't understand why my problem was really a problem.
Here is the scenario:
Object_A --> Object_B --> Object_C
The '-->' symbol re...
Is it possible to "link" UILabel text property with another NSString so that when this other NSString is changed also UILabel text property changes?
Example:
UILabel *label = [[UILabel alloc] init];
NSString *str = @"labelText1";
label.text = str;
str = @"labelText2"; //after this assignment label.text is still "labelText1"
...
Is it even possible to enable the HDR option from within my application? I assumed it would be there automatically. I looked for additional mediaTypes, thinking maybe kUTTypeHDRImage might be an option, but no such luck. It's not an additional source type, nor is it available through cameraCaptureMode.
ipc.sourceType = UIImagePickerCon...
Hi people, my app sometimes crashes when I try to open new view controller, it's looks like if uikit could't load nib file, but in most cases this controller loads fine. I can't determine cause of this problem.
Thread 0 Crashed:
0 libSystem.B.dylib 0x00090b2c __kill + 8
1 libSystem.B.dylib 0x00090b1a kill...
Why can't I observe the editing property of an instance of UITableViewController?
I'm using the following code:
[self addObserver:self
forKeyPath:@"editing"
options:(NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld)
context:NULL];
And have implemented the method:
- (void)observeValueForKeyPath...
Is there a method, like containsObject: for NSMUtableArrays to check if an object exists in there without having to loop through the whole array and check each element? What's the best way to check if an object exists in an NSMutableArray?
...
Hi all
I am developing an app on iphone that lets user take photos, add comments & GPS location to it and send it as an email to another user.
If the recipient has installed the same app & when she clicks on the attachment the same app will launch & parse these details & show them to the recipient. (I intend to use UIDocumentInteractio...
how we can change the tabbarcolor
...
For some reason, the first method doesn't display anything, while the second does:
//Common
NSString *path=[[NSBundle mainBundle] pathForResource:@"about" ofType:@"html"];
//Method1
[webView loadRequest:[NSURLRequest requestWithURL: [NSURL fileURLWithPath: path isDirectory: NO]]];
//Method 2
NSString *HTML=[NSString stringWithContentsOf...
Hi All,
I have a lite iPhone app that has a link for the Paid app on the app Store.
On the following question it was mentioned that the app was rejected because of the same behavior and in order to apply this I have to use In app purchase instead.
I have seen Lite and Paid apps on the store.
I wanted to know how I can handle the link b...
When I first started learning XCode I remember hearing something about how it has cool features to inspect an object and get information about its class. Now I need to use these cool features. How can I use NSLog to get class information about an object and other cool information about an object.
...