I've tried creating two UIButtons programatically as described here. This works great but there doesn't seem to be a simple transition for expanding the UIButton on the left as seen in the Apps Store.
...
Hi everyone,
Is it possible to 'easily' make on the iphone a MAC OSX hide window effect on a UIView? When I say easily, I mean using existing libraries or tools...
Thanks
...
What's the most low-level official touch input API which can be accessed from developers? (iPhone)
...
I've run into an animation issue (I think) with my TabBar based app. I have four tab bar items, of those three have UINavigationControllers, and one of them just has a regular view controller. The issue is that after changing to a view with animations, the first tab without a UINavigationController seems to no longer have the right size/...
I've been struggling with trying to get my UIImageView to change its image when the UIScrollView is scrolled, kind of like the Photos.app.
Here's my code:
- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
if (scrollView.contentOffset.x > 296){
self.currentDBNum++;
self.currentDoorbell = [UIImage imageWithConte...
Hello,
I would like to use a C++ class in an objective c application.
How to achieve this?
Thanks for your helps :)
...
I've got a custom UIViewController that loads a xib. The first time it's instantiated, it takes some time before it appears. Is there an elegant way to preload it, so it won't do this? I tried just creating it and immediately after release it. That didn't seem to work. I suppose if I wanna do it that way, I'd have to add it to the main w...
this question is regarding xcode objective c and iphone development:
So i want to store an array in a new plist file and I know how to retrieve the file path and write the data into the file (at least i think i do) and all that jazz once the plist is created, but how do I actually create the plist file the first time the app is run or t...
Hi - I'm contemplating writing some helper functions to make it easier to do simple changes to the UI elements in my iPhone NIB. Mainly - I want to access a UILabel, or other element, via it's Name in Interface Builder. Is this possible? Is there a smarter approach?
Example
Say I want to make a super simple iPhone app that displays ...
I'm programming an app that lets me record doorbell sounds and play them back on a doorbell that the user sees when they push the button.
My app seems to record and save the file (the file is there (in Documents) according to the iPhone simulator as I've created the directory in the app delegate)).
However playback isn't working. (By the...
I am using a UITableView and when I setEditing:YES I don't want a delete option to be available. I just want the ability to reorder the rows of the table. Is there a way to prevent the - button from showing up on the left?
...
I'm trying to setup a library for simulator or device building and everywhere I see explains that SDKROOT should expand to a /Developer/Platform/<>/SDKs/<>/, where <> is filled in by your project settings.
Many links on the internet explain that SDKROOT will expand to a path, but the newer versions of XCode, SDKROOT expands to "iphoneos...
This question tells how one can create directories in your resources path. Once created, how does one reference these directories?
I have created an html directory with a structure for my internal pages, now I want to load the index.html file from the html directory. Thus, I'll need the file path to it.
I can just use:
NSString *filen...
I would like to be able to build a scroll view capable of scrolling an unbounded (infinite) distance (this is question number one, how to do this with the contentSize property). The reason for this is so that I can implement a scrolling calendar view, which the user can use to scroll through time along a single axis.
Now, I need to pu...
What, if any, support is there for CSS3 in mobile browsers? The specific browsers I'm curious about are the ones used in the iPhone, Android, and Blackberry phones. Any links to relevant resources would also be greatly appreciated.
...
Is there a way to create an if statement based on compile settings? I have an App that accesses a web-based API and when compiling in debug mode I want it to use the private beta version but when I compile for release I want it to use the public live version of the API.
At the moment I just have a NSString holding the url address.
...
How do I code this so that that it detects which image was tapped first? In other words if one of them is tapped, but the other one was already hidden, i want it to play a different sound?? any ideas?
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
NSLog(@"tag %@",touc...
I am trying to add push notifications to my app. I have am using an ad hoc profile. My appID does not have a wildcard. I am using the following php code...
$deviceToken="****";masked
$time = time();
$apnsHost = 'gateway.sandbox.push.apple.com';
$apnsPort = 2195;
$apnsCert = 'apns-dev-maui.pem';
$streamContext = stream_context_cr...
i saw it once and i cant find it again:
how to detect via JavaScript if an iphone webapp was opened from a url typing or from an icon in the springboard?
thanks!
...
I have an core data app that stores strings and a couple of images. I would like users to be able to send entries to each other via email (like Apple's Contacts app).
I have created a url scheme that exports/imports all the strings, but the image data is a tough one.
Any help or point in the right direction would be greatly appreciate...