iOS Development

iPhone devices have become extremely popular in the smartphone market. The iPhone user base is so massive that it is necessary for businesses to develop apps optimized for iPhone devices. Our iOS development team specializes in developing complex iPhone apps to deliver an optimal user experience.

Third Rock Techkno is a top-ranked iOS development company. We have a very experienced iOS app development team that is capable of developing any complex iOS app. We have developed a variety of iOS apps in different domains. These include iOS apps for real estate, banking, eCommerce, healthcare and more. Our iOS development team specializes in each and every aspect of the iOS development technology. This makes us the best company in iOS app development.

Do you have a great idea? Get in touch with us.

Our iOS Services

  • 1. Universal App development
  • 2. iOS app update and maintenance
  • 3. Enterprise app development
  • 4. UI/UX change app development
  • 5. Architecture chance app development
  • 6. Custom 3rd party library development
  • 7. iMessage app development
  • 8. Apple watch app development
  • 9. tvOS app development
  • 10. 3D viewer app development

Our Existing Clients

We cater to a diverse clientele spanning across various industries.

Why Choose Us As Your iOS Development Company

Experienced Developers

Our highly-qualified IOS development experts specialize in building customized, creative and highly-interactive web and mobile applications. Whether you are a startup or an SME, our experts will get the job done.

Trusted Delivery Methods

We employ the agile methodology to keep you in the loop. Throughout IOS development and mobile development, we focus on delivering solutions that meet your business goals, timeline, and budget.

Competitive Rates

Whether it is IOS development or mobile development, we offer the most competitive rates on the market. Our personalized services meet different budget needs of our clients from across the globe.

Transparent Work Approach

Our IOS development company ensures complete project visibility right from the time you approach us with your needs. We use email, phone, Skype, Slack and other mediums for regular communication with our clients.

Customer Satisfaction

Our designers, developers, quality analysts, and a project manager – all strive for customer satisfaction. We deliver iOS app development services that align with our clients’ needs.

Client Testimonials

Our WORK speaks louder than our WORD. Find out how we helped clients overcome challenges and succeed.

Smoovr

Very good communication at all stages. Always prompt to reply. Excellent quality of work. The team at Third Rock Techkno was communicative, responsive, and accommodating as they produced high-quality work.

Jonathan Wood, Smoovr

Ontime

It was a pleasure working with the TRT team. Prior to contracting this group, I had a system created that was absolutely terrible and poorly developed. I also worked with a few freelancers that couldnt cut it either. TRT was actually able to execute on our concept and have built a truly solid system for our company.

Karl Pierre, Ontime

Main Features Of iOS Development

Security

iPhone devices bundled with iOS are more popular given their security feature. Apple always concentrates on security first in all their products. Because of the enhanced security in iOS, Apple devices are users’ first choice.

Fast And Robust

Apple always concentrates on its product performance. It is this feature that makes millions of users prefer Apple iOS and ranks Apple as one of the topmost companies in the world.

Clear UI/UX

iOS app has a very clear UI/UX. Native iOS apps look slick UI/UX and are very easy to use. A great UI/UX always attracts users. A striking UI/UX plays a very significant role in making an app popular. iOS apps have all these features.

Tech-Savvy Audience

iPhone devices are extremely popular with the young consumer segment especially millennials and Generation Z. These users are tech-savvy and constantly looking for newer technology. iOS has the ability to deliver the latest technology that is in sync with their demands.

Renown Brand

Collaborating with a well-known and established brand can definitely boost your credibility and outreach. Developing an iOS app for your product will add great value to it and to your business.

Recent iOS Development Blogs

06 Jan 2021 | 6 Min Read
Screenshot in iPhone

Introduction A Screenshot, also known as Screen capture or Screen grab, is a digital image that shows the contents of a computer display. A common screenshot is created by the operating system or software running on the device. A screenshot or screen capture may also be created by taking a photo of the screen. How to take a Screenshot in iPhone device? A screenshot can be taken on iPhone [https://en.wikipedia.org/wiki/IPhone] by simultaneously pressing the Home button and the Lock button, however on the newer iPhones X, XR, XS and 11, it is achieved by pressing the Volume up and Lock button. The screen will flash and the picture will be stored in PNG [https://en.wikipedia.org/wiki/Portable_Network_Graphics] format in the "Camera Roll" if the device has a camera, or in "Saved Photos" if the device does not. From the iOS 11 update a little preview will pop up in the bottom left corner, which can be swiped left to save or clicked to open up an editor where the screenshot can be cropped or doodled on before being saved or shared. The screenshot feature is available with iOS 2.0 and later. What are the Different uses of Screenshots in iOS Apps Development? Screenshots can be extremely helpful when we need to demonstrate something that would otherwise be difficult to explain in words. After all, a picture is worth a thousand words! 1. Collaborate with Others When our team mates wants our input on new app or they need us to look over a screen they're creating, instead of writing a lengthy email with edits, we can take a screenshot and send it to them with marked changes. Marking up design concepts onscreen is faster and more effective than a wordy email. Different uses of screenshots2. Demonstrate How to Perform a Function We Don’t just need to tell but also show, demonstrate exactly what we’re talking about with a screenshot. By using a screenshot which shows exactly what we mean, there’s less chance that they’ll be misunderstood. And that means less confusion, less time explaining, and more time back in our day. For example, explain to a new employee how to login. Instead of telling them, we can quickly send them a screenshot that they can reference again and again without having to repeatedly ask you. A screenshot with numbered steps is quick to make and easy to understand. 3. Show Exactly What’s Happening Whenever we report a bug, we’ve likely been asked to provide a screenshot. That’s because not everyone’s device is the same. Depending on our screen, the processor that our device have, the way something appears for us could be completely different for them. The best part about screenshots? They’re easy! As Buffer notes, screenshots are powerful yet simple to use. In fact, it only takes a second to make a screenshot. A screenshot of an error message helps avoid confusion by showing them exactly what we’re seeing. 4. Show Users How App is Look a Like Through App Screenshots When publishing an app in the Apple App Store, we need to provide app screenshots. The screenshots are shown in your App Store listing and play a huge role in driving more downloads. Many mobile users will use our app screenshots to form a first impression and decide whether or not they want to download our app. Every screenshot that we provide needs to have a purpose and ultimately boast the best features of our app. A well-designed set of iOS app screenshots are: * appealing and eye-catching * clean and easy to read * straight to the point * on-brand Apple actually gives us 10 slots for screenshots. We should use all 10 slots. Every additional screenshots is an added opportunity to advertise why people should download our app. How to Create a Screenshot of Any View Inside our iPhone App? Initially we have following screen. view with button for taking screenshotWhat we want is to snapshot the direction, transform it into an UIImage, then save the image in the photo gallery. To start responding to button taps let’s add the IBAction of the button. So we have the following initial structure inside our ViewController for button: import UIKit class ViewController: UIViewController { // MARK:- IBOutlet of take a screenshot button @IBOutlet weak var takeAScreenShotButton: UIButton! { didSet { guard let button = self.takeAScreenShotButton else { return } button.backgroundColor = .blue button.setTitle("Take a Screenshot", for: .normal) button.setTitleColor(.white, for: .normal) button.layer.cornerRadius = button.frame.height / 2 } } // MARK:- IBAction of take a screenshot button @IBAction func takeAScreenShot(_ sender: UIButton) { UIView.animate(withDuration: 0.2, animations: { self.takeAScreenShotButton.isHidden = true }) { _ in self.takeAScreenShotButton.isHidden = false } //Take a screenshot here } } Now let’s add the actual screenshot-taking logic under buttons IBAction // MARK:- IBAction of take a screenshot button @IBAction func takeAScreenShot(_ sender: UIButton) { UIView.animate(withDuration: 0.2, animations: { self.takeAScreenShotButton.isHidden = true }) { _ in self.takeAScreenShotButton.isHidden = false } takeScreenshot(of: self.view) } func takeScreenshot(of view: UIView) { UIGraphicsBeginImageContextWithOptions( CGSize( width: view.bounds.width, height: view.bounds.height ), false, 2 ) view.layer.render(in: UIGraphicsGetCurrentContext()!) let screenshot = UIGraphicsGetImageFromCurrentImageContext()! UIGraphicsEndImageContext() //MARK:- to save screenshot in photo album UIImageWriteToSavedPhotosAlbum ( screenshot, self, #selector(imageWasSaved), nil ) } //Mark:- to perform a certain action on photo write @objc func imageWasSaved ( _ image: UIImage, error: Error?, context: UnsafeMutableRawPointer ) { if let error = error { print(error.localizedDescription) return } print("Image was saved in the photo gallery") // MARK:- to open photo gallery for preview screenshot UIApplication.shared.open( URL(string:"photos-redirect://")! ) } As we can see, inside the takeScreenshot(of:) method we perform the following: * Begin creating image context based on the size of a view parameter. * Render the layer of view into that context. * Get the actual image from the context. * End image context. * Write the resulting image to saved photos album. The UIImageWriteToSavedPhotosAlbum operation requires permission to access the photo library, so we have to add the following to the Info.plist Info.plistIf we have any errors during the process, we simply print them. Otherwise, we open the Photos app to see our brand new screenshot. As a result, we have the following workflow: workflow of taking screenshot in appAs we can see we took a screenshot of direction and saved that screenshot in albums where button is not visible. How Screenshot can Expose Sensitive Information? Here are some cases where screenshot can expose sensitive information. 1. Login information can be recorded Any app that requires a login to get access to sensitive information. We need to make sure that only the intended person can log in. If screen recording or screen capture is allowed on the login it can expose confidential information. 2. Payment Information Any retail or banking app deals with payment/transactions. From a security point of view, we need to be watchful of any information being captured from the app to protect the user's account. If we aren't careful it will lead to a major leak in from application and secured transaction details will be compromised. 3. Private Conversation People now days takes screenshot of the private conversations and passes them to others without his/her consent. It is the major case of exposing sensitive information using screenshot. Is There Any Way to Detect Screenshot is Taken or Prevent Taking Screenshot? There's no way to prevent taking screenshots entirely. We can do what Snapchat does, which is by requiring the user to be touching the screen to view whatever information we are displaying. This is because the system screenshot event interrupts touches. It's not a perfect method and we can't prevent users from taking screenshots 100% of the time. How to Detect Screenshot is Taken? We can't prevent the screenshot but we can track if anyone is taking screenshots and how prevalent the issue is within our app. If our app uses a login mechanism we can identify the user and restrict app access or provide a notice (if desired) to the user. The key is to watch for the .UIApplicationUserDidTakeScreenshot message to be posted, which will happen whenever a screenshot happens. For example, this runs a screenshotTaken() method. NotificationCenter.default.addObserver( self, selector: #selector(screenshotTaken), name: UIApplication.userDidTakeScreenshotNotification, object: nil ) And we can add our logic inside screenshotTaken() method, or we can do the following. NotificationCenter.default.addObserver( forName: UIApplication.userDidTakeScreenshotNotification, object: nil, queue: OperationQueue.main ) { notification in //MARK:- Here we will enter logic of our need print("Screenshot taken!") } And we can perform action based on our need. Conclusion Taking, saving, and sharing screenshots can be extremely helpful. Not only do they help us prove our case, they also help us archive the past. For example,  a juicy gossip article we don’t want to risk forgetting. For more information about the aforementioned UIGraphics operations, see the official Apple documentation: UIGraphicsBeginImageContextWithOptions(::_:) [https://developer.apple.com/documentation/uikit/1623912-uigraphicsbeginimagecontextwitho] UIGraphicsGetImageFromCurrentImageContext() [https://developer.apple.com/documentation/uikit/1623924-uigraphicsgetimagefromcurrentima] UIGraphicsEndImageContext() [https://developer.apple.com/documentation/uikit/1623933-uigraphicsendimagecontext] Thanks for reading!

26 Oct 2020 | 3 Min Read
Getting started with combine framework

Combine is a new framework, Apple introduced in WWDC 2019. This framework provides a declarative Swift API for processing values over time. Combine allows you to write functional reactive code by providing declarative swift apis. We can compare this framework with RxSwift and RxCocoa. It allows us to process values over a time. Examples of this kind of value are network response, user interface events and other similar types of asynchronous data. There are some basic concepts that you need to understand. * Publisher: Things that produce values * Operator: Things that do work with values * Subscriber: Things that care about values We will explain all 3 points in this blog. Publisher Publishers are the basic provider of data when it is available and required. Publisher which has not any request will not provide any data (But obvious). This protocol has 2 associated types. 1. Output: The types of value it produces 2. Failure: The types of error it could encounter Publisher can emit multiple events: * An Output values of Output type * Completion of publisher * A failure with error having Error type Timer and URLSession is an enhanced type of foundation. Operator Operators are special methods that are called on publishers and return the same or different publishers. It is used to change values like adding, removing and many other operations. You can use multiple operators to perform complex processing. Each operator returns a type that implements the publisher protocol. Below is example of some operator Map Filter RemoveDuplicates Subscriber Subscriber receives values from publisher. Publishers and operators are pointless until someone is listening to the published events. Subscriber confirms following protocols. Subscriber can receive a value of type Input or termination event with either success or Failure. A subscriber receives a stream of value, completions or failure events from a publisher Let’s combine Subscriber and Publisher. Publisher will start delivering value when you call subscribe(_:) on it, passing your subscriber. At that point, publishers send subscriptions to subscribers. Rules of subscription 1. A subscriber can only have one condition. 2. Zero or more values can be published 3. At most one completion will be called Best example of a complete publisher is URLSessionTask Publisher which will complete tasks either with data response or with error response. Whenever error will be thrown, subscribers will end even if it has multiple values to pass through.. Below image will help you to understand the flow between publisher and subscriber. In short, combine is Combine = Publishers + Subscribers + Operators Lets connect Publisher and Subscriber Combine has 2 built in subscribers: Subscribers.Sink and Subscribers.Assign. You can call them either by calling this method on a publisher. sink(receiveCompletion:receiveValue:) to handle new element or completion event in closure. Assign(to:on:) to write new element to a property 1. Create a Just publisher that sends a single value and then completes. Combine has number of build in publishers including, Just 2. Connect a Subscribers.sink subscriber. It will print below. Cancellable First of all in Rx Subscription results in a disposable, which allows you to stop the subscription, Combine does not have this. If you don’t want to receive further updates, you will just de-reference the publisher chain. So apple manages this functionality with Cancellable. Cancellable protocol has a cancel method which frees up any allocated resources. According to documentation, cancellable is protocol that indicates an activity or actions may be cancelled. Benefits of using combine framework 1. Simplified asynchronous code - No more callbacks. 2. Declarative syntax - Easy to read and maintain. 3. Multithreading- You don’t have to worry about it. 4. Built in memory management - No more bugs to carry.

16 Oct 2020 | 6 Min Read
Exploring WidgetKit in iOS 14

Last time we explored the brand new SwiftUI introduced in WWDC19 by building an analog clock [https://www.thirdrocktechkno.com/blog/getting-started-with-swiftui/]. It was really fun to use SwiftUI. Now this year Apple introduced lots of new technologies. Today we will explore the new WidgetKit technology by extending our previous SwiftUI blog. According to Apple, > Widgets are used to show relevant, glanceable content from your app on the iOS Home screen or macOS Notification Center. WidgetKit is available for iOS 14.0+, macOS 11.0+, Mac Catalysts 14.0+. WidgetKit works in a separate target of our main app. So any app that follows the best practices for the app extension can adopt this feature easily. Even though our app is supporting lower versions of iOS, our Widgetkit extension target can be deployed to iOS 14.0+ versions. In this diagram, you can see that WidgetKitExtension is a separate extension in which we are having Widget which is responsible for providing the TimeLine for our widgets to be displayed by the iOS on the home screen (springboard). WidgetKit works in a sense of the timeline. Our app/extension can provide the timeline with our data to be displayed on by the widgetkit on the home screen. For example * Stocks app can update its widget to reflect the new stock prices at the appropriate time. * Clock’s widget can display current time for multiple places. * Calendar’s widget can display upcoming events right on the home screen. * Weather’s widget can display the weather of your selected region. * News’s widget can display the latest news. And so on. As in the diagram, A Widget basically provides a timeline and provides a SwiftUI view for that timeline instance. To provide the timeline, WidgetKit provides a protocol called TimelineProvider (or it can be IntentTimeLineProvider in case of IntentConfiguration). By following these protocol requirements we can provide our full timeline and reload policy to WidgetKit. > A reload policy is used by the WidgetKit to reload the timeline once the current timeline ends or at a custom request from our application or extension. Once we provide the timeline, WidgetKit will call our closure with the timeline entry to collect the new SwiftUI view for the latest entry from the timeline. Clocky Widget. Adjustment in earlier code. Before we start creating the new widget, we first adjust our code we did in the previous article to make easy adoption for our shiny new widget. Since the Timeline protocol has a date: Date requirement, we are moving the Timer publisher from TickHands to our top ContentView so it only depends on the external date dependency. And we extracted the assembly of the clock views from the ContentView to new ClockView so we can share it to our widget extension. And to adapt all the 3 of WidgetFamily which are systemSmall, systemMedium and systemLarge we are creating some variables for the font size and insets. That’s all the changes we need to do. Creating the new target. To create a new widget kit extension called ClockyWidget we need to create a new target within the Xcode project Create new target.Clocky WidgetNow activate the target and Xcode will create a new Folder ClockyWidget with the required files and sample code implementation. Now we modify some basic information for our widget like in below code. @main struct ClockyWidget: Widget { // 1 private let kind: String = "ClockyWidget" public var body: some WidgetConfiguration { StaticConfiguration(kind: kind, provider: Provider()) { entry in ClockyWidgetEntryView(entry: entry) } // 2 .configurationDisplayName("Clocky Widget") // 3 .description("Displays the current time") } } 1. We provide a kind string for our Static Configuration. 2. We change our Display name to Clocky Widget 3. We provide the description of our widget. Here in ClockyWidget.swift file, all the protocol requirements are generated by the Xcode for us. So we only need to provide some of the data for timeline and our swiftui view from our main application target. To use the source files we need to add those to our widget extension target also. Add target membership of comman files to Widget extensionAll the setup done. Now we can add some timeline entries. // 4 struct ClockyEntry: TimelineEntry { public let date: Date } 4- We create the struct for the TimelineEntry. TimelineEntry protocol has one required property which is date. // 5 struct Provider: TimelineProvider { // 6 public typealias Entry = ClockyEntry // 7 func getSnapshot(in context: Context, completion: @escaping (ClockyEntry) -> Void) { let entry = ClockyEntry(date: Date()) completion(entry) } // 8 func getTimeline(in context: Context, completion: @escaping (Timeline<ClockyEntry>) -> Void) { var entries: [ClockyEntry] = [] // Generate a timeline consisting of 60 entries a second apart, starting from the current date. let currentDate = Date() for hourOffset in 0 ..< 60 { let entryDate = Calendar.current.date(byAdding: .second, value: hourOffset, to: currentDate)! let entry = ClockyEntry(date: entryDate) entries.append(entry) } // 9 let timeline = Timeline(entries: entries, policy: .atEnd) completion(timeline) } // 10 public func placeholder(in: Context) -> ClockyEntry { ClockyEntry(date: Date()) } } 5. To create the whole timeline we need to follow TimelineProvider protocol. 6. In this we declare that our Entry will be of type ClockEntry. 7. this method is called when our widget is in the widget gallery waiting to be added in the home screen springboard. Here we return our ClockEntry in the completion with the current date for the snapshot. 8. This is the heart of all the widget kit. In this we need to pass the Timeline instance to completion. So for our sample project we create the TimeLineEntries for every seconds for 1 min and append to our entries array. 9. Then we create the Timeline object using our entries array and .atEnd reload policy. That means when in the timeline all the 60 entries get completed, we request WidgetKit to reload our timeline again. 10. Now we pass our timeline to completion. SwiftUI Magic. Now we have our full timeline ready with the reload policy, we need to provide the view to be rendered on the home screen for the specific timeline entry. // 11 struct ClockyWidgetEntryView : View { // 12 var entry: ClockyProvider.Entry // 13 @Environment(\.widgetFamily) var family: WidgetFamily // 14 @ViewBuilder var body: some View { switch family { // 15 case .systemSmall: ClockView( currentDate: entry.date, minuteTickHeight: 8, hourTickHeight: 16, tickInset: 32, font: Font.system(size: 12) ) // 16 case .systemMedium: HStack { ClockView( currentDate: entry.date, minuteTickHeight: 8, hourTickHeight: 16, tickInset: 32, font: Font.system(size: 12) ) ClockView( currentDate: entry.date.convert(to: TimeZone(identifier: "Europe/Berlin")!), minuteTickHeight: 8, hourTickHeight: 16, tickInset: 32, font: Font.system(size: 12) ) } // 17 case .systemLarge: ClockView(currentDate: entry.date) @unknown default: ClockView(currentDate: entry.date) } } } 11. SwiftUI View requires a View protocol to be conformed. So we created the ClockyWidgetEntryView. 12. From the WidgetKit we will get the one entry for every timeline entry we set before. So to accommodate that we are declaring the variable entry: Provider.Entry which is our ClockyEntry. 13. Since Widgets come in 3 sizes, and we are also supporting all sizes, we declare an Environment variable with \.widgetFamily key. 14. We need to switch for all the widget families so we need to declare our body as a @ViewBuilder property. 15. In systemSmall widget family we are only showing one small ClockView. 16. In systemMedium widget family we are showing two clockView side by side with TimeZone difference. 17. In systemLarge widget family we are again showing the one big ClockView. As we had used custom font sizes for our TickText in previous article. We are now adjusting them according to widget family. And that's all. Now we can run our extension and the result is beautiful.

Get in Touch

Is your mind buzzing with ideas?
Let us know about them!

Contact Us