On iOS if I want to overlay two views and then blend from one scene to another.
E.g.: From menu of a game to the actual game. Have menu first, then on click ("start game") load game view and have a nice blend/transform from the menu to the game stage.
This is not a specific question for blending but on how to handle multiple views in...
I have a root view that contains several subviews("groups") that contain several subviews inside of them ("group elements") (so every subview of my root view "groups" a set of UIViews).
I want to be able to drag out each group element out of a group and get its "absolute" coordinates (i. e. position of the element expressed in root view'...
Hello. I've looking around for a way to change the background image of my NavigationBar and control the appearance of my NavigationBar as the user navigates the app. I've been looking around and it appears the accepted approach for changing the background image is this...
@implementation UINavigationBar (UINavigationBarCategory)
- (v...
Ok Guys, here's the situation I have.
I'm using a UITableViewController with Core Data. The table has about 200 cells, that basically function as a checklist. When you tap a cell, that cell has a checkbox that gets toggled set to the UITableViewCell.imageView ( the UIImageView assigned to the left of the label).
Anytime I use either ...
Hello. I'm new to iOS development and am running into an issue with my header files. I'm running into a circular dependency issue with my header files. My application delegate class contains a pointer to my view controller, since I have to set one of the view controller's properties in my didFinishLaunchingWithOptions method...
//app...
i am trying to call select:(id) sender on uitextview. i do this in order to make my text selection visible, making the call before setSelectedRange. the code works just fine on OS3.2, but on OS3.1.3 and below it crashes with an unrecognized selector error.
i can avoid the crash by using respondsToSelector, but naturally i'd like to fin...
I want to create a mapping application for iOS that will show a map (MKMapView) and some UI elements (UIButton,...) on top of the map.
Is it a good idea to add the additional UI elements as subviews of the MKMapView or should I create a parent UIView that contains the map and other elements at the same level?
I created in IB a MKMapVie...
In Objective-C, if I override a class method using a category, is there a way I can call the original method (the one that was overridden)?
...
I'm looking for an Objective-C library for an iOS app that will parse and display articles form an RSS feed.
Specifically,m I'm looking to make an app for a news website. The framework should be able to work with various RSS XML structures if possible. (Well, two different news sites. One uses Wordpress-generated RSS and one does not.)
...
Hello,
Whenever I start an AVCaptureSession running with the microphone as an input it cancels whatever background music is currently running (iPod music for instance). If I comment out the line adding the audio input, the background audio continues.
Does anyone know of a way to record video clips with the microphone while continuing ...
Does anyone know how to show a rounded squared with a spinning activity indicator? It is used in many apps. If you don't know what im talking about, it looks like the indicator when you change volume on your Mac but with a darker background. Im not sure if it is built-in to iOS or someone made it.
Like the one in this post but not full ...
I have an action which begins when the user taps a button on the screen (e.g. "Import"). At the same time, a UIToolbar appears on the bottom of the screen which gives the user the option to cancel this action. How can I properly send a cancel message to the initial function? If the user hits "Cancel," I do not want the "Import" to contin...
Hey,
I wanna make a MMORPG, I'm now working on the multiplayer. The client is iOS device, so I'll use objective c on the server too.
I'm googling for hours and can't find a nice tutorial to use the UDP for begginers.
Also is obj-c on the server is a good idea?
Oh, and other thing.. What is "Socket"?
Thanks!
...
I have a UITableView and basically I'm making some in app settings, and if the first section's UISegmentedControl is toggled to index 1, then I want to display a new section, but if index 1 was previously set and the user selects index 0 then I need to remove section 2.
To do this I had this code set to fire on the UISegmentedControl's ...
I have two crash logs from a iPhone application in XCode Organizer. Both occurred within 20 minutes of each other, on the same device, running the same build of the application. While one has been symbolicated the other has not.
The unsymbolicated log has type and codes:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000,...
Has anyone ever had the problem that a UIScrollView, which gets moved by [UIScrollView setContentOffset:...] doesn't "remember" it's new position? It however does, if the user scrolls via touch-and-drag.
Symptoms: If the UIScrollView doesn't remember the new position, it "flips" back to the original position it last remembers (which is ...
In my site I use a CSS only dynamic menu. This is fine in desktop browsers, but not on iOS (iphone, ipad, etc) because the touch interface does not support the :hover selector.
My question is: what is the best way of supporting this on iOS? (Ideally either by patching with some CSS, or Javascript that will make the existing code work, r...
Hoping to get some clear advice on this one.
I want to push updates to my app when it is live. I plan to do this by modifying the sqlite that ships with the app and then have the app download it. Easy.
I haven't worked out how actually get the app to see the new data though.. I can overwrite the sqlite in the documents directory, but t...
I just started fighting my way to Xcode and iPhone development, so this is probably a stupid question, but there is this strange behavior of Xcode that I can't seem to get behind.
When I change my code (.m, .h files) and press "Build and Run", the (already running) emulator seems to restart my app, but doesn't actually reflect my change...
What is the best way to implement a server piece of application using iOS GameKit? Should I create a separate server thread that somehow responds to all delegated events (data received etc)? Or maybe use NSRunLoops?
...