I'll try to answer some of your questions *.* > > *- When I do a check for $this->request->isMobile() the result is false; > is that because we are using the simulator?* > I don't know, but I think yes.
*- What part does the RequestHandler component play in this? I have > included it in AppController.* > yes, I would put in the AppController, in beforeFilter() or beforeRender() *- The CakePHP app contains al the correct redirects and logic flow. Does > the iOS app need to replicate these (in other words, the logic is stored in > two places) or can the CakePHP code drive the redirect equivalent > statements for iOS?* > I think you can use the same controller, but create other views for iOS requests. For example, if you have a "Post" controller and a "Index" action, you will have "app/View/Posts/index.ctp" for web requests and "app/View/Posts/Mobile/index.ctp" (or "app/View/Posts/Ios/index.ctp") for ios requests. In the AppController you will redirect the view for the mobile paste if it is a mobile request. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
