Hi I have a problem that drives me crazy.
I have a UIImageView in a UIView. The image should be replaced with a flip-animation of the view. So i remove an add a subview in the view. That works fine. But now i am trying to change the image and the frame property of the imageview right befor the animation starts.
The problem is, the chan...
Hello I'd like to achieve at the same time rounded corners and a background composed by tiling a little png (OPERATOR_VIEW_BACKGROUND_IMAGE). My main goal is to allow a designer to fill the background of a View by inserting the right image in the project resources.
[triggerView setFrame:CGRectMake(0, 0, ICONS_WIDTH, iconFrameHeight)];
[...
I have a UITextField with number pad keyboard and on Editing Changed event I do this:
textField.text = [@"" stringByAppendingFormat:@"%0.2f", [[[textField text] stringByReplacingOccurrencesOfString:@"." withString:@""] floatValue]/100.0];
This is a script found on a site and it works just fine for the first 11 characters, meaning that...
I'm using a Tab Bar Controller in Interface Builder with 3 navigation controllers. IB is not allowing me to put more than one object in a view controller. For instance, I can't place both an image and a rect button or two images etc...
anyone know if i'm making a mistake here?
i hope i explained it clearly enough. i've attached a scree...
This is probably a stupid question with an easy answer. I'm new to iOS dev and this is killing me.
I have a basic tab bar app. The app loads the initial tab upon launch and it is a tableview controller. The data for this tableview is supplied by a datacontroller where it creates an array from data fetched from the internet. When I firs...
Hi, I'm trying to call
-(void)shareOnTwitter:(NSString *)link{
link = [NSString stringWithFormat:@"http://m.twitter.com/?status=%@",link];
//load webView etc
But twitter is taking me to the logon page without my link saved. Has anyone gotten this to work?
...
Would it be as simple as applying a rotation transform? I'm willing to manage the content of my cells with a rotation transform.
...
Hello. I'd like to build an iPhone game for the Game Center and am currently researching the server part of it all. I learn best by example and I'm having a hard time finding any examples of simple game servers that demonstrate...
How data is formatted and sent to the server and how it is received
How to authenticate the data that is...
Is there any possibilities to use Assets Library Framework on iPad? As I know it is a framework of IOS4 and higher, but I need to use it in my iPad application.
...
I am having issues setting up Google Analytics for my iPhone Application. I have a website that I have sucesfully been using Google Analytics on, and so I am pretty familiar with how it works.
I set up a new fake domain with the following formation: myapp.mysite.com. I got the UA ID that was made and used that as shown below.
In my iPh...
I have a viewBased project and have two view "A" and "B" and put a button on view A and want to show view B when user push button.how can i show view B with navigation controler(means show with push)
I use below code but don't know what should i do before this code(means how to setup UINavigation controler,...)
[self.navigationControlle...
Can someone please list the steps needed to get a project setup for the AppStore. Lets assume the following
I do not have any certificates, provisioning profiles, distribution profiles, app id (whatever they are), etc.
I have an iPhone and an iPad
In addition, please specify
1. what I would need to do if I created a second App
2. If...
I want to change my web page CSS for web browsers running on cell phones, like the iPhone and Android. I've tried something like this in the CSS file:
@media handheld {
body {
color: red;
}
}
But it doesn't seem to have any effect, at least on the iPhone. How can I write my CSS to work differently on the iPhone etc, ideall...
I have a UITableView which has more rows than can be displayed on the screen at one time, i.e. it has scrolling. Here's the problem I'm having when moving rows around.
Move an onscreen row to an onscreen location. Works fine.
Scroll up to expose more rows at the bottom. Choose one of these rows to move up. When the row being moved r...
With the support of multitasking in iOS 4.0+, is there any way that I can have my application run in the background and detect the launching and exiting of other applications?
I know you can do this in Android, but I was wondering if this was now possible on the iPhone.
...
Total Objective-C / Cocoa Touch noob here, beware.
I'm trying to intercept when a user long presses on a UITextView (a magnifying glass then appears with the caret positioner) and then releases the touch, i.e. when normally the "Select" and "Select All" Options appear, after the magnifying glass. I want to replace this with my own custo...
Hello-
Trying to get up to speed on UIScrollView for an app that I'm working on. Found a tutorial at http://www.tckdeveloper.com/Tutorials/iPhone/ScrollViews.html that helped out and that got the scroll view working in landscape mode. Started adding more content to the view so that scrolling was needed in the portrait view as well. When...
How can I deduce the information if the keyboard is visible while device orientation is changed? Does this information is sent inside - (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)iFromInterfaceOrientation method?
...
Hi,
I am building a game with 20 levels and have around 15 music files. Currently I am preloading all the 15 sounds using cocos denshion at the start of the game. However the game crashes after a few levels. I get a 'Program received signal: “0”. Data Formatters temporarily unavailable' error. I assume this is because of lack of memory ...
Hello,
How to write code which specifies timeout to BSD sockets connect syscall ? I writing iPhone application and i need to wait long time to get response from connect syscall. Any Examples ?
Thanks
Now i have something like this:
host_name = NULL ;
host_name = gethostbyname([[host_value hostname] UTF8String]) ;
if (host_name != NU...