Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Question about Programming
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1405783" data-attributes="member: 211556"><p>To connect to and interact with web sites in your app, you will have to use and get to grips with the NSURL, NSURLRequest and NSURLConnection class's.</p><p>Also to display web sites in a browser type control, you will probably use the UIWebView class.</p><p></p><p><a href="https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006950" target="_blank">https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006950</a></p><p></p><p>You cannot interact directly with any other app on the device, these rules are strictly enforced in iOS, this will also include the alarm clock, but what you can do is use theregisterForRemoteNotificationTypes: method of the UIApplication class to let your app</p><p>know when an alert is sounded.</p><p></p><p><a href="https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006728" target="_blank">https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006728</a></p><p></p><p>Or you could design your own clock with the NSTimer class, that runs within your own app, and then use it to make alert sounds at certain times, or when certain actions happen.</p><p></p><p>Lastly for using the GPS capabilities of iOS devices, you will have to learn to use the Core Location Framework, and yes you can start or stop these services as required, or have them perminently running in the background.</p><p></p><p><a href="https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009497" target="_blank">https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009497</a></p><p></p><p>And not to forget, the Map Kit Framework, and the MKMapView class, these tools allow you to display a Google Map type view within your app.</p><p></p><p><a href="https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKMapView_Class/MKMapView/MKMapView.html#//apple_ref/doc/uid/TP40008205" target="_blank">https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKMapView_Class/MKMapView/MKMapView.html#//apple_ref/doc/uid/TP40008205</a></p><p></p><p>Sounds like your working on a big project, so good luck with it.</p><p></p><p>Regards Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1405783, member: 211556"] To connect to and interact with web sites in your app, you will have to use and get to grips with the NSURL, NSURLRequest and NSURLConnection class's. Also to display web sites in a browser type control, you will probably use the UIWebView class. [URL="https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006950"]https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006950[/URL] You cannot interact directly with any other app on the device, these rules are strictly enforced in iOS, this will also include the alarm clock, but what you can do is use theregisterForRemoteNotificationTypes: method of the UIApplication class to let your app know when an alert is sounded. [URL="https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006728"]https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006728[/URL] Or you could design your own clock with the NSTimer class, that runs within your own app, and then use it to make alert sounds at certain times, or when certain actions happen. Lastly for using the GPS capabilities of iOS devices, you will have to learn to use the Core Location Framework, and yes you can start or stop these services as required, or have them perminently running in the background. [URL="https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009497"]https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009497[/URL] And not to forget, the Map Kit Framework, and the MKMapView class, these tools allow you to display a Google Map type view within your app. [URL="https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKMapView_Class/MKMapView/MKMapView.html#//apple_ref/doc/uid/TP40008205"]https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKMapView_Class/MKMapView/MKMapView.html#//apple_ref/doc/uid/TP40008205[/URL] Sounds like your working on a big project, so good luck with it. Regards Mark [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Question about Programming
Top