Basically, i'm trying to program a "tweet this" button from inside my application. Depending on their spot in the application, they can click the tweet button and it'll shoot them out to Safari with a tweet message that changes depending on where they are.
In order to create URLs, I have to escape the query string that I want to put in...
Can't see why this is happening, but when I use Bluetooth to send data to connected peers, they receive the data perfectly well but then immediately disconnect making further interaction impossible. Can anyone give any indication as to why this might be happening? I tried changing the timeout to 60 seconds, I tried reducing the amount of...
Hi,
I have a couple of views in my iPhone app.
each view shows a "top bar" in blue, I haven't added a "Navigation Bar", simply edited what's on the inspector "View Controller" section and gave it a title. (this section: http://img69.imageshack.us/i/schermata20101001a22014.png/)
Is it possible to change the color of this bar that'a autom...
How does one add additional targets to an iphone application?
I would like to add the following targets: CFNetwork.framework, SystemConfiguration.framework and libz.1.2.3.dylib to my app to be able to use twit pic
Thanks
...
Anyone know why I still have some extra white space to the right of my web site when using an iPhone?:
(please check on an iPhone - this will not show with Firefox/UA Switcher)
I've adjusted viewport meta to "device-width" and my body's width is 100%.
I've Firebugged everywhere and just can't figure this one out.
...
I'm currently reading Aaron Hillegass' book "Cocoa Programming for Mac OS X" as it is highly recommended throughout the community. I'm wondering if there's an extreme difference between "Cocoa Programming" and iPhone development. I'm more interested in iPhone development, but I figured iPhone development would be easier to pick up if I w...
For the life of me, I cannot figure this out.
Here's the scenario:
I have a tableview with a searchbar at the top.
I do a search.
I tap a search scope button.
Do another search.
Tap the other search scope button (the one that was selected by default).
Do another search.
Crash
I'm presented with the following:
*** -[CALayer retain]:...
Hi,
What is the importance of "setContentInset" in a scrollview. In my UI, when keyboard pops up I am adjusting the frame of my scrollview and reduces the height of my keyboard from my scrollview frame and vice-versa when keyboard goes off.
Now, in my app I am hitting the server to fill in data inside textfields. When my response come b...
This is a request for guidance regarding Bluetooth accessory development for iOS devices.
Publicly available documentation/discussion seems limited; I assume this is due to the MFI NDA.
And I didn't find the quantity/variety of iOS Bluetooth accessories I'd expect if accessory development was as accessible as iOS development in general...
I've got an app that caches a pretty decent amount of data in memory after parsing a csv file, and also displays an MKMapView. After scrolling across the country from one end to the other in the MKMapView, the app inevitably gives me one or more:
Received memory warning. Level=1
Received memory warning. Level=2
and finally crashes due...
So I׳m trying to play some effects in my Cocos2D game using SimpleAudioEngine , but after I have added them my app crashes when it goes to background (multitasked).
I searched for this problem in the internet but all the solutions that I found didn't work for me. What I did find out is that this problem happens because my app is somehow ...
I'm developing a static library that will be distributed to other developers, who may need debug statements. So I have several levels of logging.
In order to avoid constant appearance of
if(loggingLevelCurrentlySet >= loggingLevelWantedForThisInstance){
NSLog(@"log this");
}
I created a set of logging function wrappers. A simp...
I have this class
loader.h
#import <Foundation/Foundation.h>
@class Reachability;
@interface loader : NSObject {
}
- (void)startLoading;
@end
loader.m
#import "loader.h"
#import "Reachability.h"
@implementation loader
- (void)startLoading{
NSLog(@"Check network");
}
@end
Is the code bellow the correct way to include the above c...
Interested in writing an iPhone app but don't want to buy a mac or learn objective-c. I was excited to see that you could do this using Mono but haven't found too many resources out there.
Does anyone know of any good online tutorials for writing your first iPhone app using Mono?
...
I'm using Tesseract in one of my applications, and I'm having trouble obtaining perfect results. When I use the library on a perfect screenshot, it gets most of the text and that's fine. But when I use it on a photo for example, it has trouble working it out, and sometimes it won't even return anything.
I know you can train Tesseract, ...
I am using the MKReverseGeocoder but I keep getting reverseGeocoder:didFailWithError: "The operation couldn’t be completed. (MKErrorDomain error 4.)". I am passing the geocoder the coordinates of the MKUserLocation annotation. What does this error mean & how can I avoid it?
...
Hi!
I'm a beginner to Iphone Development :)
I am trying to make a button change an image. So I have my button
- (IBAction)myButton {
myUIImageView.image = [UIImage imageNamed:@"myPhoto.png"];
}
I created a UIImageView in IB and I named the label and the name of this 'myUIImageView' but XCode is telling me that it's undeclared. ...
Ok, I have a complicated scenario here. I have a scrollview which scrolls horizontally and contains tiles, 1 centered on the screen at a time with the user still able to see if there are more to the left or right by way of having the edges of the 2 views visible on either side. I am able to add the views programmatically to the scrollvie...
Hi,
I am interested in how the lower portion of the iphone stock app is implemented. The lower part of the app, where you can switch the views by swiping your finger to left/right and the "..." below the view to indicate which view the user is looking at.
It looks to me a tabview component. I am trying to look for the UI component as ...
Here is the error message I get:
ContactsWithPN - start loop
Program received signal: “0”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib")
Here is the code that causes this problem:
+(NSArray *) contactsWithPhoneNumbers...